1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Make helpers raise by default

ade0c441d5
This commit is contained in:
David Rodríguez 2020-06-03 18:43:17 +02:00 committed by Hiroshi SHIBATA
parent 529a9e8a1f
commit 61b6f53337
Notes: git 2020-06-18 19:15:18 +09:00
61 changed files with 378 additions and 390 deletions

View file

@ -55,7 +55,7 @@ RSpec.describe "Gem::SourceIndex#refresh!" do
end
it "does not explode when called" do
run "Gem.source_index.refresh!"
run "Gem::SourceIndex.new([]).refresh!"
run "Gem.source_index.refresh!", :raise_on_error => false
run "Gem::SourceIndex.new([]).refresh!", :raise_on_error => false
end
end