Permalink
Browse files

not rerunning specs on pass

  • Loading branch information...
1 parent d08ee90 commit a643f841758daea73b5535179007fb591eb8ac26 @alg alg committed May 25, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Guardfile
View
@@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
-guard 'rspec', :version => 1, :cli => "--color" do
+guard 'rspec', :version => 1, :cli => "--color", :all_after_pass => false do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
@@ -13,6 +13,7 @@ guard 'rspec', :version => 1, :cli => "--color" do
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
watch('config/routes.rb') { "spec/routing" }
watch('app/controllers/application_controller.rb') { "spec/controllers" }
+
# Capybara request specs
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/requests/#{m[1]}_spec.rb" }
end

0 comments on commit a643f84

Please sign in to comment.