Revert "Revert "[rubygems/rubygems] Remove unneeded global teardown""

This reverts commit ac2c07e983.
This commit is contained in:
David Rodríguez 2020-06-11 12:12:13 +02:00 committed by Hiroshi SHIBATA
parent 3a2628025e
commit c3ecd1cbd3
Notes: git 2020-06-15 19:48:50 +09:00
11 changed files with 32 additions and 9 deletions

View file

@ -228,7 +228,7 @@ class TestGemSource < Gem::TestCase
end
def test_update_cache_eh_home_nonexistent
FileUtils.rm_rf Gem.user_home
FileUtils.rmdir Gem.user_home
refute @source.update_cache?
end