summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2022-07-16 12:09:54 +0200
committergit <[email protected]>2022-07-18 19:07:55 +0900
commita74634de106df63fb39a7077561657bb61a0bc97 ()
tree6d71307ea1df49a7c664b030c0a18959a58be5b4 /test/rubygems/test_gem_commands_setup_command.rb
parent01560e1c53ce2e1fcf3cdc2480c6f75ca7c6f0a6 (diff)
[rubygems/rubygems] Fix upgrading RubyGems with a customized `Gem.default_dir`
https://.com/rubygems/rubygems/commit/16d01f9486
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb18
1 files changed, 18 insertions, 0 deletions
@@ -228,6 +228,24 @@ class TestGemCommandsSetupCommand < Gem::TestCase
assert_path_exist "#{Gem.dir}/gems/bundler-audit-1.0.0"
end
def test_install_default_bundler_gem_with_force_flag
@cmd.extend FileUtils