fix guard file to pick up send tests correctly

This commit is contained in:
Torsten Ruger 2017-09-10 22:54:36 +03:00
parent 94ca8da354
commit eb7cfb47d6

View File

@ -22,5 +22,7 @@ guard :minitest do # with Minitest::Unit
# Vool to_mom compile process + # Ruby to vool compile process # Vool to_mom compile process + # Ruby to vool compile process
watch(%r{^lib/vool/statements/(.+)_statement.rb}) { |m| watch(%r{^lib/vool/statements/(.+)_statement.rb}) { |m|
[ Dir["test/vool/to_mom/test_#{m[1]}*.rb"] , "test/vool/statements/test_#{m[1]}.rb"] } [ Dir["test/vool/to_mom/test_#{m[1]}*.rb"] , "test/vool/statements/test_#{m[1]}.rb"] }
watch(%r{^lib/vool/statements/send_statement.rb}) {
[ Dir["test/vool/to_mom/send/test_*.rb"] , "test/vool/statements/test_send_statement.rb"] }
end end