ruby-changes:69428
From: David <ko1@a...>
Date: Mon, 25 Oct 2021 20:55:10 +0900 (JST)
Subject: [ruby-changes:69428] f6d1909500 (master): [rubygems/rubygems] Catch up with recent error message modification
https://git.ruby-lang.org/ruby.git/commit/?id=f6d1909500 From f6d190950055f8700b144ab075971edd08754d52 Mon Sep 17 00:00:00 2001 From: David Rodriguez <deivid.rodriguez@r...> Date: Thu, 14 Oct 2021 12:10:22 +0200 Subject: [rubygems/rubygems] Catch up with recent error message modification https://github.com/rubygems/rubygems/commit/ae374c1f31 --- spec/bundler/install/global_cache_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/bundler/install/global_cache_spec.rb b/spec/bundler/install/global_cache_spec.rb index 2a679fd424e..afa0ff76c10 100644 --- a/spec/bundler/install/global_cache_spec.rb +++ b/spec/bundler/install/global_cache_spec.rb @@ -125,7 +125,7 @@ RSpec.describe "global gem caching" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/install/global_cache_spec.rb#L125 expect(source2_global_cache("rack-0.9.1.gem")).to exist bundle :install, :artifice => "compact_index_no_gem", :raise_on_error => false expect(err).to include("Internal Server Error 500") - expect(err).not_to include("please copy and paste the report template above into a new issue") + expect(err).not_to include("ERROR REPORT TEMPLATE") # rack 1.0.0 is not installed and rack 0.9.1 is not expect(the_bundle).not_to include_gems "rack 1.0.0" @@ -140,7 +140,7 @@ RSpec.describe "global gem caching" do https://github.com/ruby/ruby/blob/trunk/spec/bundler/install/global_cache_spec.rb#L140 expect(source2_global_cache("rack-0.9.1.gem")).to exist bundle :install, :artifice => "compact_index_no_gem", :raise_on_error => false expect(err).to include("Internal Server Error 500") - expect(err).not_to include("please copy and paste the report template above into a new issue") + expect(err).not_to include("ERROR REPORT TEMPLATE") # rack 0.9.1 is not installed and rack 1.0.0 is not expect(the_bundle).not_to include_gems "rack 0.9.1" -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/