diff options
Diffstat (limited to 'Guardfile')
-rw-r--r-- | Guardfile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Guardfile b/Guardfile index 50a10af9a31..e682f0b6cf1 100644 --- a/Guardfile +++ b/Guardfile @@ -4,6 +4,7 @@ guard 'rspec', :version => 2, :all_on_start => false, :all_after_pass => false do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } + watch(%r{^lib/api/(.+)\.rb$}) { |m| "spec/requests/api/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } # Rails example |