Allow individual specs to be rerun; show skipped tests in gray.

This commit is contained in:
Aaron Peckham & Christian Williams
2009-08-10 15:39:48 -07:00
parent 22226f3423
commit e476f2375a
4 changed files with 34 additions and 8 deletions

2
spec/bootstrap.js vendored
View File

@@ -42,7 +42,7 @@ Reporter.prototype.test = function (result, message) {
};
Reporter.prototype.summary = function () {
var el = createElement('p', {'class': ((this.fails > 0) ? 'fail_in_summary' : '') });
var el = createElement('p', {'class': ((this.fails > 0) ? 'failInSummary' : '') });
el.innerHTML = this.total + ' expectations, ' + this.passes + ' passing, ' + this.fails + ' failed in ' + (new Date().getTime() - this.start.getTime()) + "ms.";
var summaryElement = document.getElementById('results_summary');