diff options
author | David Rodriguez <deivid.rodriguez@riseup.net> | 2021-10-09 11:29:11 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-10-11 19:13:16 +0900 |
commit | 0c3ac8734558232c5287ea737edfbe5a3ab4f290 (patch) | |
tree | 3ae1596b632c6030fe420e31e71ffa38cc4a5a43 /spec/bundler | |
parent | 607efe91540057ef0ca3be4a829869df018ee94a (diff) | |
download | ruby-0c3ac8734558232c5287ea737edfbe5a3ab4f290.tar.gz |
[rubygems/rubygems] Show a warning in `bundle info` if gem has been deleted
https://github.com/rubygems/rubygems/commit/ff86cd7dd2
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/commands/info_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/bundler/commands/info_spec.rb b/spec/bundler/commands/info_spec.rb index 29cac94057..518f93511a 100644 --- a/spec/bundler/commands/info_spec.rb +++ b/spec/bundler/commands/info_spec.rb @@ -66,6 +66,10 @@ RSpec.describe "bundle info" do bundle "info rail --path" expect(err).to match(/The gem rails has been deleted/i) expect(err).to match(default_bundle_path("gems", "rails-2.3.2").to_s) + + bundle "info rails" + expect(err).to match(/The gem rails has been deleted/i) + expect(err).to match(default_bundle_path("gems", "rails-2.3.2").to_s) end context "given a default gem shippped in ruby", :ruby_repo do |