Merge pull request #99 from strongloop/fix/booting-flag-unit-test
Refactor unit test assertions to be more specific
This commit is contained in:
commit
464c389af9
|
@ -57,8 +57,8 @@ describe('executor', function() {
|
||||||
expect(app.booting).to.be.undefined();
|
expect(app.booting).to.be.undefined();
|
||||||
boot.execute(app, simpleAppInstructions(), function(err) {
|
boot.execute(app, simpleAppInstructions(), function(err) {
|
||||||
expect(err).to.be.undefined();
|
expect(err).to.be.undefined();
|
||||||
expect(process.bootingFlagSet).to.be.ok();
|
expect(process.bootingFlagSet).to.be.true();
|
||||||
expect(app.booting).to.not.be.ok();
|
expect(app.booting).to.be.false();
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue