aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_uninstall_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_uninstall_command.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/rubygems/test_gem_commands_uninstall_command.rb b/test/rubygems/test_gem_commands_uninstall_command.rb
index a2c11b7216..132c370f11 100644
--- a/test/rubygems/test_gem_commands_uninstall_command.rb
+++ b/test/rubygems/test_gem_commands_uninstall_command.rb
@@ -69,19 +69,6 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
Gem::Installer.exec_format = nil
end
- def test_execute_not_installed
- @cmd.options[:args] = ["foo"]
- e = assert_raises Gem::InstallError do
- use_ui @ui do
- @cmd.execute
- end
- end
-
- assert_match(/\Acannot uninstall, check `gem list -d foo`$/, e.message)
- output = @ui.output.split "\n"
- assert_empty output, "UI output should be empty after an uninstall error"
- end
-
def test_execute_prerelease
@spec = quick_spec "pre", "2.b"
@gem = File.join @tempdir, @spec.file_name