summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-07-21 09:05:44 +0000
committerBundlerbot <bot@bundler.io>2019-07-21 09:05:44 +0000
commit0305b1731a52ee91551ac0097fae5a2ca24da155 (patch)
tree3d8db305a2f0f57f55e7598343fd559dbe363e9f
parenta03b11b267503c03b1b009d141b1fed6d193a9e5 (diff)
parent811755b41343acbf3d1fa1301ff6e73e2d90baf3 (diff)
downloadbundler-0305b1731a52ee91551ac0097fae5a2ca24da155.tar.gz
Merge #7252
7252: spec/bundler/shared_helpers_spec.rb - fixup after 7248 r=hsbt a=MSP-Greg PR 7248 https://github.com/bundler/bundler/commit/3f57b102c76fea2f701152e087c88f53df17d3d0 incorrectly changed a path calculation. This reverts. This only affects testing when `ruby_core?` is true. After running Azure Pipelines CI in my ruby/ruby fork and checking the 'bundler' jobs, the error was apparent... Co-authored-by: MSP-Greg <msp-greg@users.noreply.github.com>
-rw-r--r--spec/bundler/shared_helpers_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb
index c6e3487494..0fb728099e 100644
--- a/spec/bundler/shared_helpers_spec.rb
+++ b/spec/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