Permalink
Browse files

update Guardfile - use actual regexps, not strings that look like them

  • Loading branch information...
1 parent f5ddd17 commit 893a7df12778534641e5f753302803cb5d870a3a @dchelimsky dchelimsky committed Feb 5, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 Guardfile
View
@@ -1,5 +1,5 @@
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(/^spec\/(.*)_spec.rb/)
+ watch(/^lib\/(.*)\.rb/) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(/^spec\/spec_helper.rb/) { "spec" }
end

0 comments on commit 893a7df

Please sign in to comment.