Rubocop rspec now fails fast

This commit is contained in:
Priit Tark 2015-03-09 17:34:20 +02:00
parent d0dfd70038
commit 563ef753d8
2 changed files with 2 additions and 2 deletions

View file

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