diff options
author | Colby Swandale <me@colby.fyi> | 2018-12-28 22:22:14 +1100 |
---|---|---|
committer | Colby Swandale <me@colby.fyi> | 2018-12-28 22:22:14 +1100 |
commit | e63e844bc7444c6a489fcde0dc7011c6c4807edd (patch) | |
tree | 16d8a3666b290d7f27b80f147c8edd419f702ffd /spec/support/path.rb | |
parent | 21ac802b8c54718687a8682c396fc31e5a215ebc (diff) | |
download | bundler-e63e844bc7444c6a489fcde0dc7011c6c4807edd.tar.gz |
make system_bundle_bin_path helper and resolve failing tests for ruby < 2.6
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r-- | spec/support/path.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb index c28414e083..f85fbf330f 100644 --- a/spec/support/path.rb +++ b/spec/support/path.rb @@ -90,6 +90,10 @@ module Spec tmp("gems/system", *path) end + def system_bundle_bin_path + system_gem_path("bin/bundle") + end + def lib_path(*args) tmp("libs", *args) end |