# Generated by thincloud-test # More info at https://github.com/guard/guard#readme guard "minitest", all_on_start: false, start_on_start: false do # with Minitest::Spec watch(%r|^test/(.*)_test\.rb|) watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}#{m[2]}_test.rb" } watch(%r|^test/test_helper\.rb|) { "test" } watch(%r|^test/support/|) { "test" } watch(%r|^app/controllers/(.*)\.rb|) { |m| "test/controllers/#{m[1]}_test.rb" } watch(%r|^app/mailers/(.*)\.rb|) { |m| "test/mailers/#{m[1]}_test.rb" } watch(%r|^app/helpers/(.*)\.rb|) { |m| "test/helpers/#{m[1]}_test.rb" } watch(%r|^app/models/(.*)\.rb|) { |m| "test/models/#{m[1]}_test.rb" } watch(%r|^app/services/(.*)\.rb|) { |m| "test/services/#{m[1]}_test.rb" } end