runner-wide beforeEach, afterEach support

This commit is contained in:
ragaskar
2009-09-28 16:23:21 -07:00
parent 2588368231
commit a394b564f4
26 changed files with 1659 additions and 1436 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ describe('jasmine.Reporter', function() {
runnerCallback: runnerCallback
});
var runner = env.currentRunner;
var runner = env.currentRunner();
runner.execute();
expect(foo).toEqual(3); // 'foo was expected to be 3, was ' + foo);