Removed jasmine.env.currentlyRunningTests, use reporter to determine if jasmine is running

This commit is contained in:
ragaskar
2009-10-24 17:01:40 -07:00
parent b35a2acfc8
commit 2059422955
20 changed files with 1523 additions and 1831 deletions
-2
View File
@@ -124,14 +124,12 @@ jasmine.Spec.prototype.execute = function(onComplete) {
this.env.reporter.log('>> Jasmine Running ' + this.suite.description + ' ' + this.description + '...');
spec.env.currentSpec = spec;
spec.env.currentlyRunningTests = true;
spec.addBeforesAndAftersToQueue();
spec.queue.start(function () {
spec.finish(onComplete);
});
spec.env.currentlyRunningTests = false;
};
jasmine.Spec.prototype.addBeforesAndAftersToQueue = function() {