diff options
author | David RodrÃguez <[email protected]> | 2020-03-24 07:39:24 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-24 15:39:24 +0900 |
commit | 96064e6f1ce100a37680dc8f9509f06b3350e9c8 (patch) | |
tree | 798b59f015cb82ee3cd0427f80584032175829ba /test/rubygems/test_gem_commands_update_command.rb | |
parent | 930b012ad96bfb0bd12446b89407120744ef92eb (diff) |
Sync rubygems with current master (#2889)
Notes
Notes:
Merged-By: hsbt <[email protected]>
Diffstat (limited to 'test/rubygems/test_gem_commands_update_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_update_command.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_update_command.rb b/test/rubygems/test_gem_commands_update_command.rb index 340c658b9d..efaa621634 100644 --- a/test/rubygems/test_gem_commands_update_command.rb +++ b/test/rubygems/test_gem_commands_update_command.rb @@ -169,12 +169,12 @@ class TestGemCommandsUpdateCommand < Gem::TestCase @cmd.options[:args] = [] @cmd.options[:system] = "3.1" - FileUtils.mkdir_p Gem.plugins_dir - write_file File.join(Gem.plugins_dir, 'a_plugin.rb') + FileUtils.mkdir_p Gem.plugindir + write_file File.join(Gem.plugindir, 'a_plugin.rb') @cmd.execute - refute_path_exists Gem.plugins_dir, "Plugins folder not removed when updating rubygems to pre-3.2" + refute_path_exists Gem.plugindir, "Plugins folder not removed when updating rubygems to pre-3.2" end def test_execute_system_specific_newer_than_or_equal_to_3_2_leaves_plugins_dir_alone @@ -187,13 +187,13 @@ class TestGemCommandsUpdateCommand < Gem::TestCase @cmd.options[:args] = [] @cmd.options[:system] = "3.2" - FileUtils.mkdir_p Gem.plugins_dir - plugin_file = File.join(Gem.plugins_dir, 'a_plugin.rb') + FileUtils.mkdir_p Gem.plugindir + plugin_file = File.join(Gem.plugindir, 'a_plugin.rb') write_file plugin_file @cmd.execute - assert_path_exists Gem.plugins_dir, "Plugin folder removed when updating rubygems to post-3.2" + assert_path_exists Gem.plugindir, "Plugin folder removed when updating rubygems to post-3.2" assert_path_exists plugin_file, "Plugin removed when updating rubygems to post-3.2" end |