Fater guard

This commit is contained in:
Martin Lensment 2015-01-29 13:38:14 +02:00
parent 6c1caeabd7
commit b8494993ea

View file

@ -9,7 +9,7 @@ group :red_green_refactor, halt_on_fail: true do
watch(%r{^(config|lib)/.*}) watch(%r{^(config|lib)/.*})
end end
guard :rspec, cmd: 'bundle exec rspec', notification: false do guard :rspec, cmd: 'spring rspec', notification: false do
watch(%r{^spec/.+_spec\.rb$}) watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" } watch('spec/spec_helper.rb') { "spec" }