diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 03:33:45 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-27 03:33:45 +0000 |
commit | 55b81eb9e659f641edd0c73aa504c7d35970ad8a (patch) | |
tree | c3f8348524095bfbb4b1cf78bafa1d4a3c0842c8 /test/rubygems/test_gem_commands_uninstall_command.rb | |
parent | 355076660142581517b794650613f718a1eee30a (diff) | |
download | ruby-55b81eb9e659f641edd0c73aa504c7d35970ad8a.tar.gz |
* lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_uninstall_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_uninstall_command.rb | 13 |
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 |