From 40577433aaf5269170c5ba55722934ccc0c0400a Mon Sep 17 00:00:00 2001 From: pivotal Date: Wed, 29 Jul 2009 10:04:55 -0700 Subject: [PATCH] carl/bosh - fixed runner.html ( was too early); cleanup of script files that no longer existed; use passed getter --- lib/TrivialReporter.js | 2 +- spec/bootstrap.html | 4 -- spec/runner.html | 113 ++++++++++++++++++++--------------------- 3 files changed, 56 insertions(+), 63 deletions(-) diff --git a/lib/TrivialReporter.js b/lib/TrivialReporter.js index 5d10f5d..39b0c5e 100644 --- a/lib/TrivialReporter.js +++ b/lib/TrivialReporter.js @@ -35,7 +35,7 @@ jasmine.TrivialReporter.prototype.reportSuiteResults = function(suite) { jasmine.TrivialReporter.prototype.reportSpecResults = function(spec) { var specDiv = this.createDom('div', { - className: spec.getResults().passed() ? 'spec passed' : 'spec failed' + className: spec.getResults().passed ? 'spec passed' : 'spec failed' }, spec.getFullName()); var resultItems = spec.getResults().getItems(); diff --git a/spec/bootstrap.html b/spec/bootstrap.html index 19aa1a8..cac38e9 100755 --- a/spec/bootstrap.html +++ b/spec/bootstrap.html @@ -3,10 +3,6 @@ Jasmine Tests - - - - diff --git a/spec/runner.html b/spec/runner.html index 41c87bd..6d58415 100644 --- a/spec/runner.html +++ b/spec/runner.html @@ -3,65 +3,62 @@ Jasmine Test Runner + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - -