Ask guard not to run all tests on start

3-1-stable
randx 2012-09-10 19:50:35 +03:00
parent 3f01ec2d5b
commit a2f7f48c03
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'rspec', :version => 2 do
guard 'rspec', :version => 2, :all_on_start => false do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }