Skip to content

Commit

Permalink
Merge pull request #4106 from rubygems/fix_test_failure_when_version_…
Browse files Browse the repository at this point in the history
…is_exactly_3_2

Fix test failure when version is exactly 3.2
  • Loading branch information
deivid-rodriguez committed Dec 7, 2020
2 parents 058e858 + ef70538 commit e5c214d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/rubygems/test_gem_commands_update_command.rb
Expand Up @@ -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')
Expand Down

0 comments on commit e5c214d

Please sign in to comment.