spec/configurators/bundler_configurator_spec.rb in rconf-0.9.25 vs spec/configurators/bundler_configurator_spec.rb in rconf-0.10.0
- old
+ new
@@ -15,9 +15,18 @@
def success_result(output=nil)
flexmock('res', :success? => true, :output => output)
end
+ before(:all) do
+ # Disable overrides
+ RightConf::OverridesLanguage.instance_variable_set(:@overrides, {})
+ end
+
+ after(:all) do
+ 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')
end