Skip to content

Commit

Permalink
Updated Guardfile syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudgg committed Mar 9, 2011
1 parent 9b1ea0d commit fe3cf0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Guardfile
Expand Up @@ -2,7 +2,7 @@
# More info at http://github.com/guard/guard#readme

guard 'rspec', :version => 2 do
watch('^spec/(.*)_spec.rb')
watch('^lib/(.*)\.rb') { |m| "spec/#{m[1]}_spec.rb" }
watch('^spec/spec_helper.rb') { "spec" }
watch(%r(^spec/(.*)_spec.rb))
watch(%r(^lib/(.*)\.rb)) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end

0 comments on commit fe3cf0d

Please sign in to comment.