diff options
Diffstat (limited to 'spec/update/gemfile_spec.rb')
-rw-r--r-- | spec/update/gemfile_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/update/gemfile_spec.rb b/spec/update/gemfile_spec.rb index 268ccc1345..626db52fb6 100644 --- a/spec/update/gemfile_spec.rb +++ b/spec/update/gemfile_spec.rb @@ -11,6 +11,8 @@ RSpec.describe "bundle update" do bundle! :install, :gemfile => bundled_app("NotGemfile") bundle! :update, :gemfile => bundled_app("NotGemfile"), :all => bundle_update_requires_all? + # Specify BUNDLE_GEMFILE for `the_bundle` + # to retrieve the proper Gemfile ENV["BUNDLE_GEMFILE"] = "NotGemfile" expect(the_bundle).to include_gems "rack 1.0.0" end |