Skip to content

Commit

Permalink
[rubygems/rubygems] Catch up with recent error message modification
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Oct 25, 2021
1 parent 7073870 commit f6d1909
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/bundler/install/global_cache_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def source2_global_cache(*segments)
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"
Expand All @@ -140,7 +140,7 @@ def source2_global_cache(*segments)
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"
Expand Down

0 comments on commit f6d1909

Please sign in to comment.