From b02a94052152b5c49b0efa70ba83eb9a36e9b42f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 7 Dec 2020 17:03:28 +0100 Subject: [PATCH] Merge pull request #4106 from rubygems/fix_test_failure_when_version_is_exactly_3_2 Fix test failure when version is exactly 3.2 (cherry picked from commit e5c214d7a5f9790457dcbf763ec206799d854063) --- test/rubygems/test_gem_commands_update_command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/rubygems/test_gem_commands_update_command.rb b/test/rubygems/test_gem_commands_update_command.rb index cacde06fd589..749e9bee203f 100644 --- a/test/rubygems/test_gem_commands_update_command.rb +++ b/test/rubygems/test_gem_commands_update_command.rb @@ -198,13 +198,13 @@ def test_execute_system_specific_older_than_3_2_removes_plugins_dir def test_execute_system_specific_newer_than_or_equal_to_3_2_leaves_plugins_dir_alone spec_fetcher do |fetcher| - fetcher.download 'rubygems-update', 3.2 do |s| + fetcher.download 'rubygems-update', "3.2.a" do |s| s.files = %w[setup.rb] end end @cmd.options[:args] = [] - @cmd.options[:system] = "3.2" + @cmd.options[:system] = "3.2.a" FileUtils.mkdir_p Gem.plugindir plugin_file = File.join(Gem.plugindir, 'a_plugin.rb')