Skip to content

Commit

Permalink
Bin dir should fall inside destdir
Browse files Browse the repository at this point in the history
Since that's what happens in real life when `--destdir` is passed.
  • Loading branch information
deivid-rodriguez committed Nov 5, 2021
1 parent d3f092a commit 55637bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/rubygems/test_gem_commands_setup_command.rb
Expand Up @@ -245,9 +245,8 @@ def test_install_default_bundler_gem_with_force_flag
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

Expand Down

0 comments on commit 55637bd

Please sign in to comment.