Configure guard to watch changes on API views

This commit is contained in:
Thibault Jouan 2015-05-01 17:54:34 +00:00
parent 8874d3dbcc
commit 0df652ffd8

View File

@ -21,4 +21,5 @@ guard :rspec, cmd: 'bundle exec rspec --drb -f doc' do
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch(%r{^app/views/}) { 'spec/features' }
watch(%r{^app/views/api/}) { 'spec/integration' }
end