diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-08-26 11:34:59 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-12 13:58:00 +0100 |
commit | 2c26c8c2f3b2d8c68c2170ba06193b1d13847738 (patch) | |
tree | d616397cf09f978705fdfc37d1950407431065e5 /spec/cache | |
parent | 971d39b32d3ec8bfcdc951061c88e364f864423e (diff) | |
download | bundler-2c26c8c2f3b2d8c68c2170ba06193b1d13847738.tar.gz |
Extract `bundled_app_lock` path helper
Diffstat (limited to 'spec/cache')
-rw-r--r-- | spec/cache/gems_spec.rb | 6 |
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 |