aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_unpack_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_unpack_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_unpack_command.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_unpack_command.rb b/test/rubygems/test_gem_commands_unpack_command.rb
index 59f6cc6c74..9264b3fc13 100644
--- a/test/rubygems/test_gem_commands_unpack_command.rb
+++ b/test/rubygems/test_gem_commands_unpack_command.rb
@@ -66,7 +66,7 @@ class TestGemCommandsUnpackCommand < Gem::TestCase
gemhome2 = File.join @tempdir, 'gemhome2'
- Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 }
+ Gem.use_paths gemhome2, [gemhome2, @gemhome]
@cmd.options[:args] = %w[a]
@@ -86,7 +86,7 @@ class TestGemCommandsUnpackCommand < Gem::TestCase
gemhome2 = File.join @tempdir, 'gemhome2'
- Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 }
+ Gem.use_paths gemhome2, [gemhome2, @gemhome]
@cmd.options[:args] = %w[z]