aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_config_file.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-11 12:25:46 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commitc30594bb0c23b5b23c3d3ca490e3cac34d09c1f9 (patch)
treef926189d35a363d9ad71b8e0359aa7a9662fec9f /test/rubygems/test_gem_config_file.rb
parent2c0072dec58cb5f99a072a3b2dd341974ec84887 (diff)
downloadruby-c30594bb0c23b5b23c3d3ca490e3cac34d09c1f9.tar.gz
[rubygems/rubygems] Use assert_raise instead of assert_raises
https://github.com/rubygems/rubygems/commit/769e87f011
Diffstat (limited to 'test/rubygems/test_gem_config_file.rb')
-rw-r--r--test/rubygems/test_gem_config_file.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_config_file.rb b/test/rubygems/test_gem_config_file.rb
index 27da7d8206..92375c57b0 100644
--- a/test/rubygems/test_gem_config_file.rb
+++ b/test/rubygems/test_gem_config_file.rb
@@ -202,7 +202,7 @@ class TestGemConfigFile < Gem::TestCase
File.chmod 0644, @cfg.credentials_path
use_ui @ui do
- assert_raises Gem::MockGemUi::TermError do
+ assert_raise Gem::MockGemUi::TermError do
@cfg.load_api_keys
end
end
@@ -328,7 +328,7 @@ if you believe they were disclosed to a third party.
File.chmod 0644, @cfg.credentials_path
- assert_raises Gem::MockGemUi::TermError do
+ assert_raise Gem::MockGemUi::TermError do
@cfg.load_api_keys
end
end
@@ -370,7 +370,7 @@ if you believe they were disclosed to a third party.
File.chmod 0644, @cfg.credentials_path
- assert_raises Gem::MockGemUi::TermError do
+ assert_raise Gem::MockGemUi::TermError do
@cfg.rubygems_api_key = 'y'
end