From d6a2e082e647258400d0a9f75ebbd167aaa44848 Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sat, 20 Jul 2019 21:59:43 -0500 Subject: [bundler/bundler] spec/bundler/shared_helpers_spec.rb - fixup after 7248 PR 7248 incorrectly changed a path calculation. This reverts. After running Azure Pipelines CI in my ruby/ruby fork and checking the 'bundler' jobs, the error was apparent... https://github.com/bundler/bundler/commit/811755b413 --- spec/bundler/bundler/shared_helpers_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/bundler/bundler/shared_helpers_spec.rb b/spec/bundler/bundler/shared_helpers_spec.rb index c6e3487494..0fb728099e 100644 --- a/spec/bundler/bundler/shared_helpers_spec.rb +++ b/spec/bundler/bundler/shared_helpers_spec.rb @@ -402,7 +402,7 @@ RSpec.describe Bundler::SharedHelpers do it "sets BUNDLE_BIN_PATH to the bundle executable file" do subject.set_bundle_environment - bundle_exe = ruby_core? ? "../../../bin/bundle" : "../../../exe/bundle" + bundle_exe = ruby_core? ? "../../../../bin/bundle" : "../../../exe/bundle" bin_path = ENV["BUNDLE_BIN_PATH"] expect(bin_path).to eq(File.expand_path(bundle_exe, __FILE__)) expect(File.exist?(bin_path)).to be true -- cgit v1.2.3