diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 12:44:40 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-11-28 15:37:25 +0100 |
commit | f39601b64de9cfef601ffbed3ea1665ec21987a7 (patch) | |
tree | ccf79bee325e16f629d2a797968763f9eaad9324 | |
parent | 4eb2add1c358470297af751f5eb51139671e7f4d (diff) | |
download | bundler-f39601b64de9cfef601ffbed3ea1665ec21987a7.tar.gz |
Use activation hack in default gem activation specs
It's super useful when figuring out which part of bundler is activating
a default gem.
-rw-r--r-- | spec/runtime/setup_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb index 10adbf773b..80c38e9f4a 100644 --- a/spec/runtime/setup_spec.rb +++ b/spec/runtime/setup_spec.rb @@ -1276,7 +1276,7 @@ end gem "#{g}", "999999" G - expect(the_bundle).to include_gem("#{g} 999999") + expect(the_bundle).to include_gem("#{g} 999999", :env => { "RUBYOPT" => activation_warning_hack_rubyopt }) end it "activates older versions of #{g}" do @@ -1291,7 +1291,7 @@ end gem "#{g}", "0.0.0.a" G - expect(the_bundle).to include_gem("#{g} 0.0.0.a") + expect(the_bundle).to include_gem("#{g} 0.0.0.a", :env => { "RUBYOPT" => activation_warning_hack_rubyopt }) end end end |