Permalink
Browse files

refactor

  • Loading branch information...
moro committed Mar 23, 2012
1 parent 878b6f5 commit 1d8b613918edf5a99943f12d491012a0ba81e94f
Showing with 2 additions and 3 deletions.
  1. +2 −3 was_run.coffee
View
@@ -93,12 +93,11 @@ class TestCaseTest extends TestCase
testSuite: ->
suite = new TestSuite
- result = new TestResult
suite.add new WasRun 'testMethod'
suite.add new WasRun 'testBrokenMethod'
- suite.run(result)
+ suite.run(@result)
- @assert '2 run, 1 failed' == result.summary()
+ @assert '2 run, 1 failed' == @result.summary()
testSuiteRegister: ->
class SuiteRegisterTest extends TestCase

0 comments on commit 1d8b613

Please sign in to comment.