diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-07-10 17:10:22 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-07-19 13:10:40 -0500 |
commit | e21e08c4c548298a955558b27e0d8abb70f90ac9 (patch) | |
tree | d7287315d65b43b6e07f55b3ac689d83d44d877a | |
parent | 8a6400f421017462d87cfc9202c3d6cdaaec4d54 (diff) | |
download | bundler-e21e08c4c548298a955558b27e0d8abb70f90ac9.tar.gz |
Remove several CLI flags that need to be set via config in Bundler 2
-rw-r--r-- | spec/bundler/installer/gem_installer_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/bundler/installer/gem_installer_spec.rb b/spec/bundler/installer/gem_installer_spec.rb index c0eb0a0fec..7340a3acc0 100644 --- a/spec/bundler/installer/gem_installer_spec.rb +++ b/spec/bundler/installer/gem_installer_spec.rb @@ -20,6 +20,7 @@ RSpec.describe Bundler::GemInstaller do it "invokes install method with build_args", :rubygems => ">= 2" do allow(Bundler.settings).to receive(:[]).with(:bin) allow(Bundler.settings).to receive(:[]).with(:inline) + allow(Bundler.settings).to receive(:[]).with(:forget_cli_options) allow(Bundler.settings).to receive(:[]).with("build.dummy").and_return("--with-dummy-config=dummy") expect(spec_source).to receive(:install).with(spec, :force => false, :ensure_builtin_gems_cached => false, :build_args => ["--with-dummy-config=dummy"]) subject.install_from_spec |