diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-07-11 11:02:35 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-08-03 09:29:58 +0900 |
commit | a181df75429a3c3db2eef387f7476b18c3893615 (patch) | |
tree | 1b8bca70f81bc6511b374f2e9eafbc09169722fe /spec/bundler | |
parent | f399a2b7964dac890fd08bd78b62fbe8313319ea (diff) |
[bundler/bundler] No need to make `Gem.refresh` a noop
The rubygems integration sets up a `post_reset` hook that resets the
specs back to what bundler knows after `Gem::Specification.reset` is
called (which is what `Gem.refresh` calls under the hood).
https://github.com/bundler/bundler/commit/3810f9945c
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb index 3866bebb44..562085bbe4 100644 --- a/spec/bundler/runtime/setup_spec.rb +++ b/spec/bundler/runtime/setup_spec.rb @@ -845,7 +845,7 @@ end end end - it "stubs out Gem.refresh so it does not reveal system gems" do + it "does not reveal system gems even when Gem.refresh is called" do system_gems "rack-1.0.0" install_gemfile <<-G |