summaryrefslogtreecommitdiff
path: root/spec/cache
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-26 11:34:59 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2020-01-12 13:58:00 +0100
commit2c26c8c2f3b2d8c68c2170ba06193b1d13847738 (patch)
treed616397cf09f978705fdfc37d1950407431065e5 /spec/cache
parent971d39b32d3ec8bfcdc951061c88e364f864423e (diff)
downloadbundler-2c26c8c2f3b2d8c68c2170ba06193b1d13847738.tar.gz
Extract `bundled_app_lock` path helper
Diffstat (limited to 'spec/cache')
-rw-r--r--spec/cache/gems_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb
index 89d6d41570..b82ccbbd30 100644
--- a/spec/cache/gems_spec.rb
+++ b/spec/cache/gems_spec.rb
@@ -69,7 +69,7 @@ RSpec.describe "bundle cache" do
bundle "cache"
- expect(bundled_app("Gemfile.lock")).to exist
+ expect(bundled_app_lock).to exist
end
end
@@ -165,11 +165,11 @@ RSpec.describe "bundle cache" do
end
it "should not explode if the lockfile is not present" do
- FileUtils.rm(bundled_app("Gemfile.lock"))
+ FileUtils.rm(bundled_app_lock)
bundle :cache
- expect(bundled_app("Gemfile.lock")).to exist
+ expect(bundled_app_lock).to exist
end
end