summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodriguez <deivid.rodriguez@riseup.net>2024-01-26 20:37:22 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-02-08 14:43:56 +0900
commita35cade79125d2ae99cea01914939d27e0c846a2 (patch)
tree75eb09146aa72b6763d5c0771fd5d5a937ae6154 /spec
parentc236212600ff3094fea3b138ee0ff98652d94345 (diff)
[rubygems/rubygems] Improve assertion
https://github.com/rubygems/rubygems/commit/7f2f2b898c Co-authored-by: Martin Emde <martin.emde@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r--spec/bundler/bundler/definition_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler/definition_spec.rb b/spec/bundler/bundler/definition_spec.rb
index 7bc48fce05..28c04e0860 100644
--- a/spec/bundler/bundler/definition_spec.rb
+++ b/spec/bundler/bundler/definition_spec.rb
@@ -35,7 +35,7 @@ RSpec.describe Bundler::Definition do
it "does not create a lock file" do
subject.lock
- expect(File.file?("Gemfile.lock")).to eq false
+ expect(bundled_app_lock).not_to be_file
end
end
end