summaryrefslogtreecommitdiff
path: root/spec/bundler/support/path.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-06 13:16:15 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-17 17:08:49 +0900
commit745b2861617c62413357e27de9ded8098fcc031d (patch)
treedcca4043a6afc7b18ffd2857557b6e80c2ad5352 /spec/bundler/support/path.rb
parent50a91fcd1061527a3543e3e713fc4222da68e438 (diff)
[bundler/bundler] Move `lib` helper together with path helpers
https://github.com/bundler/bundler/commit/f2df73bdb4
Diffstat (limited to 'spec/bundler/support/path.rb')
-rw-r--r--spec/bundler/support/path.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb
index 7956c77800..302d79dc46 100644
--- a/spec/bundler/support/path.rb
+++ b/spec/bundler/support/path.rb
@@ -104,6 +104,10 @@ module Spec
tmp("libs", *args)
end
+ def lib
+ root.join("lib")
+ end
+
def global_plugin_gem(*args)
home ".bundle", "plugin", "gems", *args
end