forked from zendeskarchive/jessie
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added default pending state of a spec when 'it' is called without the…
… callback
- Loading branch information
Marcin Bunsch
committed
May 27, 2011
1 parent
919e851
commit 2cdddc7
Showing
4 changed files
with
39 additions
and
24 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,24 @@ | ||
describe('jessie.runner', function() { | ||
|
||
var runner = new (require('jessie/runner')).runner([''], {}) | ||
|
||
it("should load finder", function() { | ||
expect(runner.finder).toBeDefined() | ||
}) | ||
|
||
it("should load reporter", function() { | ||
expect(runner.reporter).toBeDefined() | ||
}) | ||
|
||
it("should fire execute() on jasmine", function() { | ||
var check = 0 | ||
runner.jasmine = { | ||
runner.jasmine = { | ||
execute: function() { | ||
check = 1 | ||
} | ||
} | ||
runner.run() | ||
check.should_be(1) | ||
check.should_be(1) | ||
}) | ||
|
||
}) |