Skip to content

Commit

Permalink
Run all guard tests on lib directory changes, too
Browse files Browse the repository at this point in the history
  • Loading branch information
jrunningen committed Jan 4, 2015
1 parent de48656 commit 7eb76fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ guard :minitest do
watch(%r{^app/controllers/application_controller\.rb$}) { 'test/controllers' }
watch(%r{^app/controllers/(.+)_controller\.rb$}) { |m| "test/integration/#{m[1]}_test.rb" }
watch(%r{^app/views/(.+)_mailer/.+}) { |m| "test/mailers/#{m[1]}_mailer_test.rb" }
watch(%r{^lib/(.+)\.rb$}) { |m| "test/lib/#{m[1]}_test.rb" }
watch(%r{^lib/(.+)\.rb$}) { 'test' }
watch(%r{^test/.+_test\.rb$}) { 'test' }
watch(%r{^test/test_helper\.rb$}) { 'test' }
end

0 comments on commit 7eb76fc

Please sign in to comment.