From 8082bf60b8bfea9b4073f8eb0abf6ee59c3624a3 Mon Sep 17 00:00:00 2001 From: Priit Tark Date: Tue, 17 Feb 2015 15:54:41 +0200 Subject: [PATCH] Epp::models changes should trigger Epp tests in guard --- Guardfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Guardfile b/Guardfile index 955ca3b4e..759359964 100644 --- a/Guardfile +++ b/Guardfile @@ -18,6 +18,7 @@ group :red_green_refactor, halt_on_fail: true do watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^app/(.*)(\.erb|\.haml|\.slim)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] } + watch(%r{^app/models/epp/(.+)\.rb$}) { |m| "spec/epp/#{m[1]}_spec.rb" } watch(%r{^spec/support/(.+)\.rb$}) { "spec" } watch('config/routes.rb') { "spec/routing" } watch('app/controllers/application_controller.rb') { "spec/controllers" }