Guardfile in bosh-cloudfoundry-0.6.1 vs Guardfile in bosh-cloudfoundry-0.7.0.alpha.1
- old
+ new
@@ -1,10 +1,7 @@
-# A sample Guardfile
-# More info at https://github.com/guard/guard#readme
-
-guard 'rspec' do
- watch(%r{^spec/.+_spec\.rb$})
- watch(%r{^lib/bosh/cli/commands/cf.rb$}) { |m| "spec/unit/cf_command_spec.rb" }
- watch(%r{^lib/bosh-cloudfoundry/(.+)\.rb$}) { |m| "spec/unit/#{m[1]}_spec.rb" }
+guard 'rspec', spec_paths: ["spec"] do
+ watch(%r{^spec/(.+_spec)\.rb$})
+ watch(%r{^lib/bosh/cli/commands/(.+)\.rb$}) { |m| "spec/plugin_spec.rb" }
+ watch(%r{^lib/bosh/cloudfoundry/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end