Commit 24ea884fab740ea9c666179a61c53d5768a8db89

Authored by Dmitriy Zaporozhets
1 parent 9be05a43

add spring to guard

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
1 # A sample Guardfile 1 # A sample Guardfile
2 # More info at https://github.com/guard/guard#readme 2 # More info at https://github.com/guard/guard#readme
3 3
4 -guard 'rspec', :version => 2, :all_on_start => false, :all_after_pass => false do 4 +guard 'rspec', cmd:"spring rspec", :version => 2, :all_on_start => false, :all_after_pass => false do
5 watch(%r{^spec/.+_spec\.rb$}) 5 watch(%r{^spec/.+_spec\.rb$})
6 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } 6 watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7 watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" } 7 watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" }