diff --git a/test/rubygems/test_gem_commands_signout_command.rb b/test/rubygems/test_gem_commands_signout_command.rb index 9a47dafe7c..2bb782e6f0 100644 --- a/test/rubygems/test_gem_commands_signout_command.rb +++ b/test/rubygems/test_gem_commands_signout_command.rb @@ -8,7 +8,7 @@ class TestGemCommandsSignoutCommand < Gem::TestCase def setup super - File.delete Gem.configuration.credentials_path if File.exist?(Gem.configuration.credentials_path) + @cmd = Gem::Commands::SignoutCommand.new end