a tweak
This commit is contained in:
parent
74f8cba33e
commit
89d788b704
|
@ -3,7 +3,7 @@
|
|||
Add running your Jasmine specs to your `Guardfile` via [`jasmine-headless-webkit`](http://github.com/johnbintz/jasmine-headless-webkit/). Nice!
|
||||
|
||||
guard 'jasmine-headless-webkit' do
|
||||
watch(%r{^app/assets/javascripts/(.*)\..*}) { |m| newest_js_file("spec/javascripts/#{m[1]}") }
|
||||
watch(%r{^app/assets/javascripts/(.*)\..*}) { |m| newest_js_file("spec/javascripts/#{m[1]}_spec") }
|
||||
end
|
||||
|
||||
`gem install guard-jasmine-headless-webkit` and then `guard init jasmine-headless-webkit` in your project directory to get started.
|
||||
|
|
Loading…
Reference in New Issue