diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_pristine_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_pristine_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_pristine_command.rb b/test/rubygems/test_gem_commands_pristine_command.rb index 554d503811..38e00bb1cc 100644 --- a/test/rubygems/test_gem_commands_pristine_command.rb +++ b/test/rubygems/test_gem_commands_pristine_command.rb @@ -231,7 +231,7 @@ class TestGemCommandsPristineCommand < Gem::TestCase Gem.clear_paths gemhome2 = File.join @tempdir, 'gemhome2' - Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 } + Gem.use_paths gemhome2, [gemhome2, @gemhome] b = util_spec 'b' install_gem b @@ -301,7 +301,7 @@ class TestGemCommandsPristineCommand < Gem::TestCase Gem.clear_paths gemhome2 = File.join(@tempdir, 'gemhome2') - Gem.paths = { "GEM_PATH" => [gemhome2, @gemhome], "GEM_HOME" => gemhome2 } + Gem.use_paths gemhome2, [gemhome2, @gemhome] install_gem specs["b-1"] FileUtils.rm File.join(gemhome2, 'cache', 'b-1.gem') |