summaryrefslogtreecommitdiff
path: root/spec/bundler/settings_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/settings_spec.rb')
-rw-r--r--spec/bundler/settings_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/settings_spec.rb b/spec/bundler/settings_spec.rb
index b83d768477..116a038445 100644
--- a/spec/bundler/settings_spec.rb
+++ b/spec/bundler/settings_spec.rb
@@ -130,6 +130,8 @@ that would suck --ehhh=oh geez it looks like i might have broken bundler somehow
describe "#temporary" do
it "reset after used" do
+ allow(Bundler::SharedHelpers).to receive(:find_gemfile).and_return(bundled_app_gemfile)
+
Bundler.settings.set_command_option :no_install, true
Bundler.settings.temporary(:no_install => false) do