Permalink
Browse files

Working on fixture

  • Loading branch information...
1 parent 55d2470 commit e5e0392096703ce385091d984b6bc6b6bb855087 @brymck committed Mar 20, 2012
Showing with 68 additions and 433 deletions.
  1. +1 −1 spec/coffee/helpers/spec_helper.coffee
  2. +1 −1 spec/coffee/post_spec.coffee
  3. +66 −431 spec/fixtures/test.html
@@ -11,7 +11,7 @@ div_for_fixtures = ->
document.body.appendChild div
return div
-run_with_fixtures = (targets..., callback) ->
+with_fixtures = (targets..., callback) ->
xml_http = new XMLHttpRequest()
responses = []
for target in targets
@@ -1,4 +1,4 @@
describe "The truth", ->
it "should be true", ->
- run_with_fixtures "test.html", ->
+ with_fixtures "test.html", ->
expect(true).toBeTruthy()
Oops, something went wrong.

0 comments on commit e5e0392

Please sign in to comment.