From a7451c530280996c63c6425b07230eaa8b5966a9 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Fri, 30 Dec 2011 10:38:29 +0000 Subject: [PATCH] Add new guard rule to trigger integration specs when a layout changes --- Guardfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Guardfile b/Guardfile index d292238..c7f1664 100644 --- a/Guardfile +++ b/Guardfile @@ -20,4 +20,6 @@ guard 'rspec', :cli => '--drb', :notification => false do watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('app/controllers/application_controller.rb') { 'spec/controllers' } + + watch(%r{^app/views/layouts/}) { 'spec/integration' } end