Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.648 kb
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do
watch('spec/spec_helper.rb')
end
guard 'rspec', :version => 2, :cli => "--drb -r rspec/instafail -f RSpec::Instafail", :spec_paths => ["spec", "spec/models", "spec/helpers", "spec/controllers", "spec/requests"] do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^spec/factories/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch(%r{^app/models/(.+)\.rb$}) { |m| "spec/models/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end
Jump to Line
Something went wrong with that request. Please try again.