Update Guardfile to run stuff under lib

This commit is contained in:
Benny Wong 2011-10-16 11:15:04 -04:00
parent f55962ddcb
commit 72f87569a3
1 changed files with 1 additions and 1 deletions

View File

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