diff options
author | Joel Van Horn <joel@joelvanhorn.com> | 2018-01-25 17:37:47 -0500 |
---|---|---|
committer | Joel Van Horn <joel@joelvanhorn.com> | 2018-01-25 17:37:47 -0500 |
commit | 51959f43e2613b007a2abeadcd81555124e7845b (patch) | |
tree | a4c45a52106cb2ec7c99441ac6e91fe8cb3f338f /spec/update | |
parent | 130e1138b0d89f89f5ff3d6a81a1acc68af43132 (diff) | |
download | bundler-51959f43e2613b007a2abeadcd81555124e7845b.tar.gz |
Added a note about why `BUNDLE_GEMFILE` is specified in these specs
Diffstat (limited to 'spec/update')
-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 |