diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-06 13:16:15 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-16 08:43:45 +0200 |
commit | f2df73bdb443ebbfc502ac2bc47ddcf1f8fe8dee (patch) | |
tree | eac92d55cfbd3f6026a8ad3ef6c64f390283fd35 | |
parent | 4589a57852ad139e2c7847f12913a3e3df845bc8 (diff) | |
download | bundler-f2df73bdb443ebbfc502ac2bc47ddcf1f8fe8dee.tar.gz |
Move `lib` helper together with path helpers
-rw-r--r-- | spec/support/helpers.rb | 4 | ||||
-rw-r--r-- | spec/support/path.rb | 4 |
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 |