spec/configurators/bundler_configurator_spec.rb in rconf-0.5.9 vs spec/configurators/bundler_configurator_spec.rb in rconf-0.6.1
- old
+ new
@@ -37,10 +37,10 @@
flexmock(RightConf::Command.instance).should_receive(:execute).twice.with(
'bundle', '--version').and_return(success_result('1'))
flexmock(RightConf::Command.instance).should_receive(:execute).once.with(
'bundle', 'install', {:abort_on_failure=>"Failed to install gems"}).and_return(success_result)
flexmock(RightConf::Command.instance).should_receive(:execute).once.with(
- 'gem', 'uninstall', 'bundler', '-a', '-x', {:abort_on_failure=>"Failed to uninstall bundler"}).and_return(success_result)
+ 'gem', 'uninstall', 'bundler', '-a', '-x').and_return(success_result)
flexmock(RightConf::Command.instance).should_receive(:execute).once.with(
'gem', 'install',
File.join(RightConf::BundlerConfigurator::DEFAULT_GEM_PATH, 'bundler-0.gem'),
'--no-ri', '--no-rdoc', {:abort_on_failure=>"Failed to install bundler"}).once.and_return(success_result)
@configurator.run_linux