diff options
Diffstat (limited to 'spec/ruby/library/tempfile/shared/unlink.rb')
-rw-r--r-- | spec/ruby/library/tempfile/shared/unlink.rb | 2 |
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 |