diff options
Diffstat (limited to 'test/rubygems/test_gem_install_update_options.rb')
-rw-r--r-- | test/rubygems/test_gem_install_update_options.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb index de09d7a171..e7dc52a63c 100644 --- a/test/rubygems/test_gem_install_update_options.rb +++ b/test/rubygems/test_gem_install_update_options.rb @@ -129,7 +129,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase assert @cmd.options[:user_install] - @installer = Gem::Installer.new @gem, @cmd.options + @installer = Gem::Installer.at @gem, @cmd.options @installer.install assert_path_exists File.join(Gem.user_dir, 'gems') assert_path_exists File.join(Gem.user_dir, 'gems', @spec.full_name) @@ -149,7 +149,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase Gem.use_paths @gemhome, @userhome assert_raises(Gem::FilePermissionError) do - Gem::Installer.new(@gem, @cmd.options).install + Gem::Installer.at(@gem, @cmd.options).install end end ensure |