aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_owner_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_owner_command.rb
parentb9031b10431b4ca517b520ddb9f86d82f16a3372 (diff)
downloadruby-93293043f135dec5a972378682b9e947fba7c4a6.tar.gz
[rubygems/rubygems] Remove unneeded global teardown
Instead, make each test cleanup after itself. https://github.com/rubygems/rubygems/commit/e0aba9d64f
Diffstat (limited to 'test/rubygems/test_gem_commands_owner_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_owner_command.rb b/test/rubygems/test_gem_commands_owner_command.rb
index 685365ed3b..b830916fbe 100644
--- a/test/rubygems/test_gem_commands_owner_command.rb
+++ b/test/rubygems/test_gem_commands_owner_command.rb
@@ -19,6 +19,12 @@ class TestGemCommandsOwnerCommand < Gem::TestCase
@cmd = Gem::Commands::OwnerCommand.new
end
+ def teardown
+ credential_teardown
+
+ super
+ end
+
def test_show_owners
response = <<EOF
---