Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
spec/bundler/shared_helpers_spec.rb - fixup after 7248
Browse files Browse the repository at this point in the history
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...
  • Loading branch information
MSP-Greg committed Jul 21, 2019
1 parent a03b11b commit 811755b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/bundler/shared_helpers_spec.rb
Expand Up @@ -402,7 +402,7 @@

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
Expand Down

0 comments on commit 811755b

Please sign in to comment.