Guardfile in message-driver-0.2.0.rc2 vs Guardfile in message-driver-0.2.0
- old
+ new
@@ -7,11 +7,11 @@
watch('Gemfile')
watch(/^.+\.gemspec/)
end
common_rspec_opts = {keep_failed: true, all_after_pass: true}
-unit_spec_opts = common_rspec_opts.merge({spec_paths: ["spec/units"], cli: '-f doc', run_all: {cli: ''}})
-integration_spec_opts = common_rspec_opts.merge({spec_paths: ["spec/integration/#{BrokerConfig.current_adapter}"], cli: '-f doc -t all_adapters', run_all: {cli: '-t all_adapters'}})
+unit_spec_opts = common_rspec_opts.merge({spec_paths: ["spec/units"], cmd: 'rspec -f doc', run_all: {cmd: 'rspec'}})
+integration_spec_opts = common_rspec_opts.merge({spec_paths: ["spec/integration/#{BrokerConfig.current_adapter}"], cmd: 'rspec -f doc -t all_adapters', run_all: {cmd: 'rspec -t all_adapters'}})
group 'specs' do
guard 'rspec', unit_spec_opts do
watch(%r{^spec/units/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/units/#{m[1]}_spec.rb" }