diff options
Diffstat (limited to 'spec/support/helpers.rb')
-rw-r--r-- | spec/support/helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 34335ee1a3..bd88fdac68 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -13,7 +13,7 @@ module Spec FileUtils.mkdir_p(tmp) FileUtils.mkdir_p(home) ENV["BUNDLE_DISABLE_POSTIT"] = "1" - Bundler.send(:remove_instance_variable, :@settings) if Bundler.send(:instance_variable_defined?, :@settings) + Bundler.reset! Bundler.ui = nil Bundler.ui # force it to initialize end |