summaryrefslogtreecommitdiff
path: root/spec/bundler
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
parent50a91fcd1061527a3543e3e713fc4222da68e438 (diff)
[bundler/bundler] Move `lib` helper together with path helpers
https://github.com/bundler/bundler/commit/f2df73bdb4
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/support/helpers.rb4
-rw-r--r--spec/bundler/support/path.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/support/helpers.rb b/spec/bundler/support/helpers.rb
index 6a333a9658..707b68d050 100644
--- a/spec/bundler/support/helpers.rb
+++ b/spec/bundler/support/helpers.rb
@@ -95,10 +95,6 @@ module Spec
run(cmd, *args)
end
- def lib
- root.join("lib")
- end
-
def spec
spec_dir.to_s
end
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