making gueard specifi, remove the standard extra layer
This commit is contained in:
parent
f2d23b39c9
commit
aba29b2809
@ -1,8 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
guard :minitest do
|
guard :minitest , all_on_start: false do
|
||||||
|
sys_tests = "test/integration"
|
||||||
# with Minitest::Unit
|
# with Minitest::Unit
|
||||||
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
|
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
|
||||||
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
|
watch(%r{^app/controllers/merged/([^/]+)_([^/]+)\.rb$}) { |m| Dir["test/integration/#{m[1]}*_test.rb"] }
|
||||||
|
watch(%r{^app/models/merged/([^/]+)\.rb$}) { |m| Dir["test/models/#{m[1]}*_test.rb"] }
|
||||||
|
watch(%r{^app/views/merged/([^/]+)\/([^/]+)\.haml$}){ |m| Dir["test/integration/#{m[1]}_#{m[2]}_test.rb"] }
|
||||||
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
watch(%r{^test/test_helper\.rb$}) { 'test' }
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user