| 1 |
# A sample Guardfile |
| 2 |
# More info at https://github.com/guard/guard#readme |
| 3 |
|
| 4 |
guard 'rspec', :version => 2 do |
| 5 |
watch(%r{^spec/.+_spec\.rb$}) |
| 6 |
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" } |
| 7 |
watch('spec/spec_helper.rb') { "spec" } |
| 8 |
end |
| 9 |
|