diff options
Diffstat (limited to 'test/rubygems/test_gem_uninstaller.rb')
-rw-r--r-- | test/rubygems/test_gem_uninstaller.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/rubygems/test_gem_uninstaller.rb b/test/rubygems/test_gem_uninstaller.rb index 1739614c67..948318a5e3 100644 --- a/test/rubygems/test_gem_uninstaller.rb +++ b/test/rubygems/test_gem_uninstaller.rb @@ -5,7 +5,6 @@ class TestGemUninstaller < Gem::InstallerTestCase def setup super - common_installer_setup build_rake_in do use_ui ui do @@ -376,19 +375,6 @@ class TestGemUninstaller < Gem::InstallerTestCase assert_equal "Successfully uninstalled q-1.0", lines.shift end - def test_uninstall_doesnt_prompt_and_raises_when_abort_on_dependent_set - quick_gem 'r', '1' do |s| s.add_dependency 'q', '= 1' end - quick_gem 'q', '1' - - un = Gem::Uninstaller.new('q', :abort_on_dependent => true) - ui = Gem::MockGemUi.new("y\n") - - assert_raises Gem::DependencyRemovalException do - use_ui ui do - un.uninstall - end - end - end def test_uninstall_prompt_includes_dep_type quick_gem 'r', '1' do |s| |