Minor logging fix

This commit is contained in:
ragaskar 2009-08-20 19:21:07 -07:00
parent bc790d6b87
commit 96bcde80af
2 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,7 @@ jasmine.Block = function(env, func, spec) {
this.spec = spec; this.spec = spec;
}; };
jasmine.Block.prototype.execute = function(onComplete) { jasmine.Block.prototype.execute = function(onComplete) {
this.env.reporter.log('>> Jasmine Running ' + this.spec.suite.description + ' ' + this.spec.description + '...');
try { try {
this.func.apply(this.spec); this.func.apply(this.spec);
} catch (e) { } catch (e) {

View File

@ -119,6 +119,7 @@ jasmine.Spec.prototype.execute = function(onComplete) {
spec.finish(onComplete); spec.finish(onComplete);
return; return;
} }
this.env.reporter.log('>> Jasmine Running ' + this.suite.description + ' ' + this.description + '...');
spec.env.currentSpec = spec; spec.env.currentSpec = spec;
spec.env.currentlyRunningTests = true; spec.env.currentlyRunningTests = true;