Add new guard rule to trigger integration specs when a layout changes
This commit is contained in:
parent
cbd5c19930
commit
a7451c5302
@ -20,4 +20,6 @@ guard 'rspec', :cli => '--drb', :notification => false do
|
|||||||
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
||||||
|
|
||||||
watch('app/controllers/application_controller.rb') { 'spec/controllers' }
|
watch('app/controllers/application_controller.rb') { 'spec/controllers' }
|
||||||
|
|
||||||
|
watch(%r{^app/views/layouts/}) { 'spec/integration' }
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user