summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_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_build_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_build_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb
index 76ede1466f..ac5d2ddd16 100644
--- a/test/rubygems/test_gem_commands_build_command.rb
+++ b/test/rubygems/test_gem_commands_build_command.rb
@@ -398,6 +398,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
skip 'openssl is missing' unless defined?(OpenSSL::SSL) && !java_platform?
gem_path = File.join Gem.user_home, ".gem"
+ Dir.mkdir gem_path
Gem::Security.trust_dir
@@ -441,6 +442,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
skip 'openssl is missing' unless defined?(OpenSSL::SSL) && !java_platform?
gem_path = File.join Gem.user_home, ".gem"
+ Dir.mkdir gem_path
Gem::Security.trust_dir