summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_signin_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-04-29 14:18:59 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commit93293043f135dec5a972378682b9e947fba7c4a6 (patch)
tree0b29babfec3cae2b071dc55d6b496a772249cffd /test/rubygems/test_gem_commands_signin_command.rb
parentb9031b10431b4ca517b520ddb9f86d82f16a3372 (diff)
[rubygems/rubygems] Remove unneeded global teardown
Instead, make each test cleanup after itself. https://github.com/rubygems/rubygems/commit/e0aba9d64f
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
Diffstat (limited to 'test/rubygems/test_gem_commands_signin_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_signin_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb
index 8991f65302..dc6d3b054a 100644
--- a/test/rubygems/test_gem_commands_signin_command.rb
+++ b/test/rubygems/test_gem_commands_signin_command.rb
@@ -17,8 +17,8 @@ class TestGemCommandsSigninCommand < Gem::TestCase
end
def teardown
- credentials_path = Gem.configuration.credentials_path
- File.delete(credentials_path) if File.exist?(credentials_path)
+ credential_teardown
+
super
end