cloudhead/vows — pull request #225 by osher (2012-08-09 09:25:06+00:00)
Title: Update lib/assert/macros.js

since functions in JS are first class types - include should support functions too.

Consider the following module, supposed to be 'my-module.js', which exports a function (just like mikael's request module https://github.com/mikeal/request)

```

module.exports = function(){}
module.exports.inner = function(){}

```

and the following test code

```
require('vows'); //pull the extensions...
var mod = require('../lib/my-module');

assert.include(mod, "inner");

```
Before the fix - it fails, after the fix - it should pass.