summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/support/helpers.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index e5774f12a3..6d7e9dfbe2 100644
--- a/spec/support/helpers.rb
+++ b/spec/support/helpers.rb
@@ -12,6 +12,7 @@ module Spec
end
FileUtils.mkdir_p(tmp)
FileUtils.mkdir_p(home)
+ Bundler.send(:remove_instance_variable, :@settings) if Bundler.send(:instance_variable_defined?, :@settings)
end
attr_reader :out, :err, :exitstatus