Skip to content

Commit

Permalink
Correct default spec_helper path
Browse files Browse the repository at this point in the history
Default spec_helper path was changed at 2a6d731.
  • Loading branch information
tkawachi authored and KAWACHI Takashi committed Jan 20, 2014
1 parent 27d3f34 commit 7a7030d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Expand Up @@ -143,7 +143,7 @@ function in your specs:

If you add a spec_helper file like so:

spec/javascripts/spec_helper.js
spec/javascripts/helpers/spec_helper.js

It will automatically be loaded. This is a great place for adding custom
matchers and the like.
Expand All @@ -161,7 +161,7 @@ You can also add a CoffeeScript spec helper, but remember that CoffeeScript
encloses individual files in a closure, if you need something you define in the
spec helper to be available in your spec files, attach it to the window object:

# spec/javascripts/spec_helper.coffee
# spec/javascripts/helpers/spec_helper.coffee

MyThing: "foo" # local to spec helper
window.MyThing: "foo" # global
Expand Down

0 comments on commit 7a7030d

Please sign in to comment.