jasmine.Env should always have a reporter now, no need to check.

This commit is contained in:
Christian Williams
2009-07-08 18:01:05 -07:00
parent a6aa9c652b
commit 0c24c2df2e
6 changed files with 9 additions and 25 deletions

View File

@@ -143,7 +143,7 @@ describe('Spies', function () {
});
it('calls removeAllSpies during spec finish', function() {
var test = new jasmine.Spec({}, {}, 'sample test');
var test = new jasmine.Spec(new jasmine.Env(), {}, 'sample test');
this.spyOn(test, 'removeAllSpies');