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

@@ -103,9 +103,7 @@ jasmine.Spec.prototype.resetTimeout = function() {
};
jasmine.Spec.prototype.finishCallback = function() {
if (this.env.reporter) {
this.env.reporter.reportSpecResults(this);
}
this.env.reporter.reportSpecResults(this);
};
jasmine.Spec.prototype.finish = function() {