summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-06 13:16:15 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-16 08:43:45 +0200
commitf2df73bdb443ebbfc502ac2bc47ddcf1f8fe8dee (patch)
treeeac92d55cfbd3f6026a8ad3ef6c64f390283fd35
parent4589a57852ad139e2c7847f12913a3e3df845bc8 (diff)
downloadbundler-f2df73bdb443ebbfc502ac2bc47ddcf1f8fe8dee.tar.gz
Move `lib` helper together with path helpers
-rw-r--r--spec/support/helpers.rb4
-rw-r--r--spec/support/path.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb
index 6a333a9658..707b68d050 100644
--- a/spec/support/helpers.rb
+++ b/spec/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/support/path.rb b/spec/support/path.rb
index 7956c77800..302d79dc46 100644
--- a/spec/support/path.rb
+++ b/spec/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