Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #6577 from mjherna1/5479-unit-test-toBeTruthy
Browse files Browse the repository at this point in the history
Issue #5479 - Change .not.toBe(null) to .toBeTruthy in DocumentManager-test.js
  • Loading branch information
ingorichter committed Jan 24, 2014
2 parents 73fed7a + 1e7a345 commit 3c57e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/spec/DocumentManager-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ define(function (require, exports, module) {
waitsForDone(promise, Commands.FILE_OPEN);
});
runs(function () {
expect(DocumentManager.getCurrentDocument()).not.toBe(null);
expect(DocumentManager.getCurrentDocument()).toBeTruthy();
DocumentManager._clearCurrentDocument();
expect(DocumentManager.getCurrentDocument()).toBe(null);
});
Expand Down

0 comments on commit 3c57e50

Please sign in to comment.