summaryrefslogtreecommitdiff
path: root/spec/support/path.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-11 13:50:21 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-12 16:31:06 +0100
commitd4b6a4164ac7fac1de4c352a04e80dfd8b3a601a (patch)
treef595fa91f100d8c26bcc5dd3cf69b2c21287dc2c /spec/support/path.rb
parent2c26c8c2f3b2d8c68c2170ba06193b1d13847738 (diff)
downloadbundler-d4b6a4164ac7fac1de4c352a04e80dfd8b3a601a.tar.gz
Extract `bundled_app_gemfile` path helper
Diffstat (limited to 'spec/support/path.rb')
-rw-r--r--spec/support/path.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/path.rb b/spec/support/path.rb
index 7d3c96ea02..3de269d91a 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -96,6 +96,10 @@ module Spec
bundled_app("vendor/cache/#{path}.gem")
end
+ def bundled_app_gemfile
+ bundled_app("Gemfile")
+ end
+
def bundled_app_lock
bundled_app("Gemfile.lock")
end