spec/configurators/bundler_configurator_spec.rb in rconf-0.6.5 vs spec/configurators/bundler_configurator_spec.rb in rconf-0.6.10
- old
+ new
@@ -27,18 +27,18 @@
it 'should succeed when bundler succeeds' do
flexmock(RightConf::Command.instance).should_receive(:execute).once.with(
'bundle', '--version').and_return(success_result('0'))
flexmock(RightConf::Command.instance).should_receive(:execute).once.with(
- 'bundle', 'install', {:abort_on_failure=>"Failed to install gems"}).and_return(success_result)
+ 'bundle', 'install', '_0_', {:abort_on_failure=>"Failed to install gems"}).and_return(success_result)
@configurator.run_linux
end
it 'should install bunlder if needed' do
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)
+ 'bundle', 'install', '_0_', {: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').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'),