summaryrefslogtreecommitdiff
path: root/spec/commands/info_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/commands/info_spec.rb')
-rw-r--r--spec/commands/info_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/info_spec.rb b/spec/commands/info_spec.rb
index 4feab54d4a..b70b711127 100644
--- a/spec/commands/info_spec.rb
+++ b/spec/commands/info_spec.rb
@@ -11,11 +11,11 @@ RSpec.describe "bundle info" do
end
it "creates a Gemfile.lock when invoked with a gem name" do
- FileUtils.rm("Gemfile.lock")
+ FileUtils.rm(bundled_app_lock)
bundle! "info rails"
- expect(bundled_app("Gemfile.lock")).to exist
+ expect(bundled_app_lock).to exist
end
it "prints information if gem exists in bundle" do