summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2022-07-18 13:39:06 +0200
committergit <[email protected]>2022-07-20 19:55:34 +0900
commitfae0d60120e8ab58b0130cbb30acf28aab733552 ()
treecdfe5de6ef6892a78832f3c42d00294965bd6f8f /test/rubygems/test_gem_commands_setup_command.rb
parentfcfb3ce371f9050ba857d9cfb8af6c14a8570f70 (diff)
[rubygems/rubygems] Refactor destdir checks
https://.com/rubygems/rubygems/commit/ca956c0de2
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb8
1 files changed, 6 insertions, 2 deletions
@@ -165,7 +165,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase
@cmd.execute
bundler_spec.executables.each do |e|
- assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', bundler_spec.full_name, bundler_spec.bindir, e
end
end
@@ -280,7 +280,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase
@cmd.install_default_bundler_gem bin_dir
bundler_spec.executables.each do |e|
- assert_path_exist File.join destdir, @gemhome.gsub(/^[a-zA-Z]:/, ''), 'gems', bundler_spec.full_name, bundler_spec.bindir, e
end
ensure
FileUtils.chmod "+w", @gemhome
@@ -466,4 +466,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
def bundler_version
bundler_spec.version
end
end unless Gem.java_platform?