mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-12 10:52:47 +00:00
26 lines
754 B
JavaScript
26 lines
754 B
JavaScript
/*
|
|
* broadway-test.js: Tests for core App methods and configuration.
|
|
*
|
|
* (C) 2011, Nodejitsu Inc.
|
|
* MIT LICENSE
|
|
*
|
|
*/
|
|
|
|
var assert = require('assert'),
|
|
events = require('eventemitter2'),
|
|
vows = require('vows'),
|
|
broadway = require('../../lib/broadway');
|
|
|
|
vows.describe('broadway').addBatch({
|
|
"The broadway module": {
|
|
"should have the appropriate properties and methods defined": function () {
|
|
assert.isFunction(broadway.App);
|
|
assert.isObject(broadway.common);
|
|
assert.isObject(broadway.features);
|
|
assert.isObject(broadway.plugins);
|
|
assert.isObject(broadway.plugins.log);
|
|
assert.isObject(broadway.plugins.config);
|
|
assert.isObject(broadway.plugins.exceptions);
|
|
}
|
|
}
|
|
}).export(module); |