diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-06-07 17:58:40 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-06-18 19:14:15 +0900 |
commit | 529a9e8a1f804332461a8519fe46dd78f3cb4265 (patch) | |
tree | a126a6056c9e057ff4c43af72e48ec5c8df1db49 /spec/bundler/lock | |
parent | 5d78fb1c9a874285a4031675afd0385011a5d1f3 (diff) |
[rubygems/rubygems] Fix a couple of specs that were loading an incorrect bundler
We have a check on an `at_exit` hook that checks that system bundler is
never loaded instead of our development copy. The check was failing in
these cases, but in a silent way because the errors were being swallowed.
This commit changes these specs to make sure they load the right
bundler.
https://github.com/rubygems/rubygems/commit/cd1c1bc297
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3212
Diffstat (limited to 'spec/bundler/lock')
-rw-r--r-- | spec/bundler/lock/lockfile_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/lock/lockfile_spec.rb b/spec/bundler/lock/lockfile_spec.rb index ea2cad29e2..f79bc8add4 100644 --- a/spec/bundler/lock/lockfile_spec.rb +++ b/spec/bundler/lock/lockfile_spec.rb @@ -1438,7 +1438,7 @@ RSpec.describe "the lockfile format" do expect do ruby <<-RUBY - require 'bundler' + require '#{lib_dir}/bundler' Bundler.setup RUBY end.not_to change { File.mtime(bundled_app_lock) } |