minor runner test cleanup

This commit is contained in:
ragaskar
2009-08-08 08:53:15 -07:00
parent 56c26c5b55
commit 0061054aaa
4 changed files with 9 additions and 7 deletions

View File

@@ -77,4 +77,4 @@ jasmine.NestedResults.prototype.addResult = function(result) {
*/
jasmine.NestedResults.prototype.passed = function() {
return this.passedCount === this.totalCount;
}
};

View File

@@ -25,7 +25,6 @@ jasmine.Runner.prototype.finishCallback = function() {
jasmine.Runner.prototype.getResults = function() {
var results = new jasmine.NestedResults();
for (var i = 0; i < this.suites.length; i++) {
//TODO: FIX
results.rollupCounts(this.suites[i].getResults()[0]);
}
return results;