summaryrefslogtreecommitdiff
path: root/spec/commands/binstubs_spec.rb
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/commands/binstubs_spec.rb
parent971d39b32d3ec8bfcdc951061c88e364f864423e (diff)
downloadbundler-2c26c8c2f3b2d8c68c2170ba06193b1d13847738.tar.gz
Extract `bundled_app_lock` path helper
Diffstat (limited to 'spec/commands/binstubs_spec.rb')
-rw-r--r--spec/commands/binstubs_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index b24392caa1..0c86e4cdb6 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -221,7 +221,7 @@ RSpec.describe "bundle binstubs <gem>" do
context "without a lockfile" do
it "falls back to the latest installed bundler" do
- FileUtils.rm bundled_app("Gemfile.lock")
+ FileUtils.rm bundled_app_lock
sys_exec! bundled_app("bin/bundle").to_s
expect(out).to eq "system bundler #{system_bundler_version}\n[]"
end