diff options
author | David RodrÃguez <[email protected]> | 2020-06-11 12:12:01 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-06-15 19:48:25 +0900 |
commit | 3a2628025ed82b833483e8c42e08a0f7d12668ad (patch) | |
tree | 0595c61ec218953e1e8d3119f9f212661853a105 /test/rubygems/test_gem_commands_signout_command.rb | |
parent | 2a20c179822ef72bb0d7329c22cbe1732f5e307b (diff) |
Revert "Revert "[rubygems/rubygems] Remove unneeded teardown""
This reverts commit ceacb06311cf150cd3682b277bbe6cf7e7bbbc30.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3211
Diffstat (limited to 'test/rubygems/test_gem_commands_signout_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_signout_command.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_signout_command.rb b/test/rubygems/test_gem_commands_signout_command.rb index 2bb782e6f0..2674351fd3 100644 --- a/test/rubygems/test_gem_commands_signout_command.rb +++ b/test/rubygems/test_gem_commands_signout_command.rb @@ -8,15 +8,9 @@ class TestGemCommandsSignoutCommand < Gem::TestCase def setup super - @cmd = Gem::Commands::SignoutCommand.new end - def teardown - super - File.delete Gem.configuration.credentials_path if File.exist?(Gem.configuration.credentials_path) - end - def test_execute_when_user_is_signed_in FileUtils.mkdir_p File.dirname(Gem.configuration.credentials_path) FileUtils::touch Gem.configuration.credentials_path |