summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2021-11-05 13:51:11 +0100
committergit <[email protected]>2021-11-05 23:20:49 +0900
commitd47831d554a9fa3ba4a78371914cb2ceb1fec1f7 ()
tree3b2b6deb8d5d277056c4891c84a691ef62b06079 /test/rubygems/test_gem_commands_setup_command.rb
parentef6752c6c40579205c5876b5a2de82c35874c5d5 (diff)
[rubygems/rubygems] Bin dir should fall inside destdir
Since that's what happens in real life when `--destdir` is passed. https://.com/rubygems/rubygems/commit/55637bdc8a
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb3
1 files changed, 1 insertions, 2 deletions
@@ -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')
@cmd.options[:destdir] = destdir