diff options
author | David RodrÃguez <[email protected]> | 2020-06-11 12:12:13 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-06-15 19:48:25 +0900 |
commit | c3ecd1cbd37db93fe181f00dd0c43059d2f3fcec () | |
tree | 4d8160c2d2189e33c601048d0e050ec07a30d37a /test/rubygems/test_gem_commands_cert_command.rb | |
parent | 3a2628025ed82b833483e8c42e08a0f7d12668ad (diff) |
Revert "Revert "[rubygems/rubygems] Remove unneeded global teardown""
This reverts commit ac2c07e98373bb62be618001c897fa9d5809d8a4.
Notes: Merged: https://.com/ruby/ruby/pull/3211
-rw-r--r-- | test/rubygems/test_gem_commands_cert_command.rb | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -597,6 +597,7 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis def test_execute_re_sign gem_path = File.join Gem.user_home, ".gem" path = File.join @tempdir, 'cert.pem' Gem::Security.write EXPIRED_PUBLIC_CERT, path, 0600 @@ -627,6 +628,9 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis end def test_execute_re_sign_with_cert_expiration_length_days path = File.join @tempdir, 'cert.pem' Gem::Security.write EXPIRED_PUBLIC_CERT, path, 0600 |