diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-08-08 10:43:38 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 590d2222a0f803f30f0323d51b8bcb51d6023cea (patch) | |
tree | 9b24ee1fc43139a122c564f365eba8b1b117375d /test/rubygems/test_gem.rb | |
parent | d01c3111c25d618ab42b0b52b620c55a9305d0e9 (diff) | |
download | ruby-590d2222a0f803f30f0323d51b8bcb51d6023cea.tar.gz |
[rubygems/rubygems] Remove helper method not buying us much
https://github.com/rubygems/rubygems/commit/81dc685d20
Diffstat (limited to 'test/rubygems/test_gem.rb')
-rw-r--r-- | test/rubygems/test_gem.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb index 013daa0610..da6fdc54fa 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -931,17 +931,13 @@ class TestGem < Gem::TestCase assert_equal true, Gem.loaded_specs.keys.include?('foo') end - def util_path - ENV.delete "GEM_HOME" - ENV.delete "GEM_PATH" - end - def test_self_path assert_equal [Gem.dir], Gem.path end def test_self_path_default - util_path + ENV.delete "GEM_HOME" + ENV.delete "GEM_PATH" Gem.instance_variable_set :@paths, nil |