From 276391811a4e05fe60042b5ac44446968dbad18b Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Mon, 23 Feb 2015 13:10:12 -0800 Subject: [PATCH] Refactor unit test assertions to be more specific - Change `process.bootingFlagSet` assertion from `ok()` to `true()` - Change `app.booting` assertion from `not.be.ok()` to `false()` --- test/executor.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/executor.test.js b/test/executor.test.js index 46513f0..dc485b4 100644 --- a/test/executor.test.js +++ b/test/executor.test.js @@ -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(); }); });