Merge pull request #99 from strongloop/fix/booting-flag-unit-test

Refactor unit test assertions to be more specific
This commit is contained in:
Miroslav Bajtoš 2015-02-24 15:01:37 +01:00
commit 464c389af9
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ describe('executor', function() {
expect(app.booting).to.be.undefined();
boot.execute(app, simpleAppInstructions(), function(err) {
expect(err).to.be.undefined();
expect(process.bootingFlagSet).to.be.ok();
expect(app.booting).to.not.be.ok();
expect(process.bootingFlagSet).to.be.true();
expect(app.booting).to.be.false();
done();
});
});