Permalink
Browse files

guard-rspec automatically runs whenever after any file under lib/t/**…

…*.rb modified
  • Loading branch information...
1 parent 963fdd5 commit a58a13933aa30a78a2a5af84b5ae685b339ddf8a @ysksn ysksn committed Aug 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Guardfile
View
@@ -3,7 +3,7 @@
guard :rspec, cli: '--color' do
watch(%r{^spec/.+_spec\.rb$})
- watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^lib/t/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/helper.rb') { "spec" }
end

0 comments on commit a58a139

Please sign in to comment.