Created
May 5, 2012 09:35
-
-
Save tommedema/2601189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('should'); | |
var bootutil = require('/src/boot/util'), | |
EventEmitter2 = require('eventemitter2').EventEmitter2; | |
describe('boot util', function() { | |
it('should load existing test routines without mediator', function() { | |
bootutil.loadRoutines('./testroutines-nomediator', function(err, routines) { | |
err.should.not.exist(); | |
routines.should.be.an.instanceof(Array); | |
routines.should.have.lengthOf(2); | |
global.TESTROUTINELOADED.should.be.ok; | |
global.TESTROUTINELOADEDRECURSIVELY.should.be.ok; | |
}); | |
}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment