small shuffle of test helpers, also guard helpers

This commit is contained in:
Torsten Ruger
2016-12-17 00:15:27 +02:00
parent f8cefcde3c
commit ece017fa86
4 changed files with 17 additions and 6 deletions

View File

@ -4,6 +4,7 @@
guard :minitest do
# with Minitest::Unit
watch(%r{^test/(.*)\/?test_(.*)\.rb$})
watch(%r{^test/(.*/)?helper.rb$}) { |m| "test/#{m[1]}test_all.rb" }
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
watch(%r{^test/test_helper\.rb$}) { 'test' }