From 62d1deb0d12b2a2ff77d7b5dfda57a32b1a0ac1c Mon Sep 17 00:00:00 2001 From: David Rodriguez Date: Sat, 9 Oct 2021 11:32:44 +0200 Subject: [PATCH] [rubygems/rubygems] Match a more exact warning message https://github.com/rubygems/rubygems/commit/80158e9d75 --- spec/bundler/commands/info_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/bundler/commands/info_spec.rb b/spec/bundler/commands/info_spec.rb index 906349cacf..186bb2a657 100644 --- a/spec/bundler/commands/info_spec.rb +++ b/spec/bundler/commands/info_spec.rb @@ -60,7 +60,7 @@ RSpec.describe "bundle info" do bundle "info rails --path" - expect(err).to match(/has been deleted/i) + 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