summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMSP-Greg <MSP-Greg@users.noreply.github.com>2019-07-20 21:59:43 -0500
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:29:58 +0900
commitd6a2e082e647258400d0a9f75ebbd167aaa44848 (patch)
tree38ebbbc3c154a6df8b62ebdfd11e7fc1aaa3600e /spec
parent432285c0040d547c24294611725edddb78560ac2 (diff)
[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
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/shared_helpers_spec.rb2
1 files changed, 1 insertions, 1 deletions
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