diff options
-rw-r--r-- | test/rubygems/test_gem_commands_update_command.rb | 29 |
1 files changed, 28 insertions, 1 deletions
@@ -168,6 +168,15 @@ class TestGemCommandsUpdateCommand < Gem::TestCase @cmd.options[:args] = [] @cmd.options[:system] = "2.5.1" assert_raises Gem::MockGemUi::TermError do use_ui @ui do @cmd.execute @@ -175,7 +184,7 @@ class TestGemCommandsUpdateCommand < Gem::TestCase end assert_empty @ui.output - assert_equal "ERROR: rubygems 2.5.1 is not supported. The oldest supported version is 2.5.2\n", @ui.error end def test_execute_system_specific_older_than_3_2_removes_plugins_dir @@ -185,6 +194,15 @@ class TestGemCommandsUpdateCommand < Gem::TestCase end end @cmd.options[:args] = [] @cmd.options[:system] = "3.1" @@ -203,6 +221,15 @@ class TestGemCommandsUpdateCommand < Gem::TestCase end end @cmd.options[:args] = [] @cmd.options[:system] = "3.2.a" |