From 49ccaaf757d5131dbf25b34fe5391b72240a5ab7 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Thu, 3 Apr 2014 16:20:58 +0100 Subject: [PATCH 1/2] remove unused parentheses --- Guardfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Guardfile b/Guardfile index 7e506c4..a3bfc62 100644 --- a/Guardfile +++ b/Guardfile @@ -23,8 +23,8 @@ group :rspec do watch(%r{^Gemfile$}) { all_specs } watch(%r{^Gemfile.lock$}) { all_specs } watch(%r{^spec/spec_helper\.rb$}) { all_specs } - watch(%r{^spec/helpers/(.+)\.rb$}) { all_specs } - watch(%r{^spec/fixtures/(.+)\.rb$}) { all_specs } + watch(%r{^spec/helpers/.+\.rb$}) { all_specs } + watch(%r{^spec/fixtures/.+\.rb$}) { all_specs } watch(%r{^libraries/pacemaker\.rb$}) { all_specs } watch(%r{^libraries/(.*mixin.*)\.rb$}) { library_specs } watch(%r{^(spec/.+_spec\.rb)$}) { |m| reload m[1] } From 6983740487e6e307ecb10d9786fd52d40832fed3 Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Thu, 3 Apr 2014 16:21:13 +0100 Subject: [PATCH 2/2] rerun LWRP tests when recipes change --- Guardfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Guardfile b/Guardfile index a3bfc62..2068621 100644 --- a/Guardfile +++ b/Guardfile @@ -31,6 +31,7 @@ group :rspec do watch(%r{^libraries/(.+)\.rb$}) { |m| reload "spec/libraries/#{m[1]}_spec.rb" } + watch(%r{^recipes/.+\.rb$}) { provider_specs } watch(%r{^providers/common\.rb$}) { provider_specs } watch(%r{^providers/(.*mixin.*)\.rb$}) { provider_specs } watch(%r{^(?:resources|providers)/(.+)\.rb$}) { |m|