Skip to content

Commit

Permalink
For Node 0.4, specs should still use assert.ok instead of assert as a…
Browse files Browse the repository at this point in the history
… function
  • Loading branch information
assaf committed Nov 27, 2011
1 parent c206e7a commit da949d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/browser_spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ vows.describe("Browser").addBatch(
browser = new Browser
browser.visit "http://localhost:3003/browser/scripted", @callback
"should not include an error": ->
assert true
assert.ok true
"should pass browser to callback": (_, browser, status, errors)->
assert.instanceOf browser, Browser
"should pass status code to callback": (_, browser, status, errors)->
Expand All @@ -63,7 +63,7 @@ vows.describe("Browser").addBatch(
browser = new Browser
browser.visit "http://localhost:3003/browser/missing", @callback
"should not include an error": ->
assert true
assert.ok true
"should pass browser to callback": (_, browser, status, errors)->
assert.instanceOf browser, Browser
"should pass status code to callback": (_, browser, status, errors)->
Expand Down

0 comments on commit da949d4

Please sign in to comment.