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 (13 sloc) 0.733 kb
# A sample Guardfile
# More info at http://github.com/guard/guard#readme
guard 'rspec', :version => 2, :bundler => true do
watch('^spec/(.*)_spec.rb')
watch('^lib/(.*)\.rb') { |m| "spec/lib/#{m[1]}_spec.rb" }
watch('^spec/spec_helper.rb') { "spec" }
# Rails example
# watch('^app/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
watch('^lib/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
watch('^config/routes.rb') { "spec/routing" }
watch('^app/controllers/application_controller.rb') { "spec/controllers" }
watch('^spec/factories/(.*)\.rb') { "spec/models" }
end
Jump to Line
Something went wrong with that request. Please try again.