spec/configurators/bundler_configurator_spec.rb in rconf-0.10.1 vs spec/configurators/bundler_configurator_spec.rb in rconf-1.0.0
- old
+ new
@@ -26,14 +26,14 @@
RightConf::OverridesLanguage.instance_variable_set(:@overrides, nil)
end
before(:each) do
@configurator = create_configurator('bundler { version "0" }')
- RightConf::Command.instance.instance_variable_set(:@rvm_prefix, 'r@g')
+ RightConf::Command.instance.instance_variable_set(:@ruby_prefix, '0')
end
after(:each) do
- RightConf::Command.instance.instance_variable_set(:@rvm_prefix, nil)
+ RightConf::Command.instance.instance_variable_set(:@ruby_prefix, nil)
end
it 'should succeed when bundler succeeds' do
should_execute_in_ruby('bundle', '--version').once.and_return(success_result('0'))
@configurator.check_linux.should be_true