mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 18:23:35 +02:00
Fater guard
This commit is contained in:
parent
6c1caeabd7
commit
b8494993ea
1 changed files with 3 additions and 3 deletions
|
@ -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" }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue