summaryrefslogtreecommitdiff
path: root/spec/ruby/library/tempfile/shared/unlink.rb
diff options
context:
space:
mode:
authorBenoit Daloze <[email protected]>2019-09-29 19:13:37 +0200
committerBenoit Daloze <[email protected]>2019-09-29 19:13:37 +0200
commit070cbe22b70ec2bec36c7cfc84b726510afa306f (patch)
tree56cee87834c85bd9f358ebee51bab4893fb9952f /spec/ruby/library/tempfile/shared/unlink.rb
parentd51b4e34fbdbe1a845aa2251b1fa3304de809b32 (diff)
Update to ruby/spec@34e6246
Diffstat (limited to 'spec/ruby/library/tempfile/shared/unlink.rb')
-rw-r--r--spec/ruby/library/tempfile/shared/unlink.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/tempfile/shared/unlink.rb b/spec/ruby/library/tempfile/shared/unlink.rb
index 2b575fd391..e821228d70 100644
--- a/spec/ruby/library/tempfile/shared/unlink.rb
+++ b/spec/ruby/library/tempfile/shared/unlink.rb
@@ -7,6 +7,6 @@ describe :tempfile_unlink, shared: true do
@tempfile.close
path = @tempfile.path
@tempfile.send(@method)
- File.exist?(path).should be_false
+ File.should_not.exist?(path)
end
end