rerun LWRP tests when recipes change

This commit is contained in:
Adam Spiers
2014-04-03 16:21:13 +01:00
parent 49ccaaf757
commit 6983740487

View File

@@ -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|