From d47831d554a9fa3ba4a78371914cb2ceb1fec1f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Fri, 5 Nov 2021 13:51:11 +0100 Subject: [rubygems/rubygems] Bin dir should fall inside destdir Since that's what happens in real life when `--destdir` is passed. https://github.com/rubygems/rubygems/commit/55637bdc8a --- test/rubygems/test_gem_commands_setup_command.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/rubygems') diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb index b712c8a2a7..59ff45b61e 100644 --- a/test/rubygems/test_gem_commands_setup_command.rb +++ b/test/rubygems/test_gem_commands_setup_command.rb @@ -245,9 +245,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase def test_install_default_bundler_gem_with_destdir_flag @cmd.extend FileUtils - bin_dir = File.join(@gemhome, 'bin') - destdir = File.join(@tempdir, 'foo') + bin_dir = File.join(destdir, 'bin') @cmd.options[:destdir] = destdir -- cgit v1.2.3