aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_signin_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-04-29 06:50:02 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commit58af4c0a1fdf15e1624867938d5a9ce6be8403e3 (patch)
treecb39943db73858d2603a673f32e7ef5c984d35de /test/rubygems/test_gem_commands_signin_command.rb
parent18ac783ea6ad00b664d784661643bcbabc5e48eb (diff)
downloadruby-58af4c0a1fdf15e1624867938d5a9ce6be8403e3.tar.gz
[rubygems/rubygems] Split credential helper as credential_setup and use it
https://github.com/rubygems/rubygems/commit/b0c55c76ca
Diffstat (limited to 'test/rubygems/test_gem_commands_signin_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_signin_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb
index fee67fe438..8991f65302 100644
--- a/test/rubygems/test_gem_commands_signin_command.rb
+++ b/test/rubygems/test_gem_commands_signin_command.rb
@@ -8,6 +8,8 @@ class TestGemCommandsSigninCommand < Gem::TestCase
def setup
super
+ credential_setup
+
Gem.configuration.rubygems_api_key = nil
Gem.configuration.api_keys.clear