summaryrefslogtreecommitdiff
path: root/spec/cache/gems_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/cache/gems_spec.rb')
-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