You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
474 B
19 lines
474 B
|
7 months ago
|
var assert = require('assert'),
|
||
|
|
vows = require('vows'),
|
||
|
|
broadway = require('broadway'),
|
||
|
|
flatiron = require('../');
|
||
|
|
|
||
|
|
vows.describe('flatiron').addBatch({
|
||
|
|
'When using `flatiron`': {
|
||
|
|
'`flatiron.plugins`': {
|
||
|
|
topic: flatiron.plugins,
|
||
|
|
'should contain all `broadway.plugins`': function (plugins) {
|
||
|
|
Object.keys(broadway.plugins).forEach(function (key) {
|
||
|
|
assert.include(plugins, key);
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}).export(module);
|
||
|
|
|