mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 01:03:35 +02:00
Epp::models changes should trigger Epp tests in guard
This commit is contained in:
parent
915ac3162f
commit
8082bf60b8
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ group :red_green_refactor, halt_on_fail: true do
|
|||
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
||||
watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
||||
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
||||
watch(%r{^app/models/epp/(.+)\.rb$}) { |m| "spec/epp/#{m[1]}_spec.rb" }
|
||||
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
||||
watch('config/routes.rb') { "spec/routing" }
|
||||
watch('app/controllers/application_controller.rb') { "spec/controllers" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue