diff options
author | Jose Galisteo <ceritium@gmail.com> | 2021-09-01 09:34:21 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-17 20:46:18 +0900 |
commit | b45fe48fbb20e334ef6dd1a85d5b7a37e6701d40 (patch) | |
tree | 6d57180c7b4c7941b10800f30fd341d189422249 /spec/bundler/commands/remove_spec.rb | |
parent | fd918d1afa89405c194e90476373f936b3577df0 (diff) |
[rubygems/rubygems] Trigger install command by default on remove
Closes https://github.com/rubygems/rubygems/issues/4889
https://github.com/rubygems/rubygems/commit/2b1754479c
Diffstat (limited to 'spec/bundler/commands/remove_spec.rb')
-rw-r--r-- | spec/bundler/commands/remove_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/bundler/commands/remove_spec.rb b/spec/bundler/commands/remove_spec.rb index 170545f80c..9e2586bae6 100644 --- a/spec/bundler/commands/remove_spec.rb +++ b/spec/bundler/commands/remove_spec.rb @@ -13,7 +13,7 @@ RSpec.describe "bundle remove" do end end - context "when --install flag is specified" do + context "when --install flag is specified", :bundler => "< 3" do it "removes gems from .bundle" do gemfile <<-G source "#{file_uri_for(gem_repo1)}" @@ -40,6 +40,7 @@ RSpec.describe "bundle remove" do bundle "remove rack" expect(out).to include("rack was removed.") + expect(the_bundle).to_not include_gems "rack" gemfile_should_be <<-G source "#{file_uri_for(gem_repo1)}" G |