rdfind: use assert_predicate instead of File.exist?
This commit is contained in:
parent
2c7dcb9796
commit
0e12cd4d8a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class Rdfind < Formula
|
|||
touch "folder/file1"
|
||||
touch "folder/file2"
|
||||
system "#{bin}/rdfind", "-deleteduplicates", "true", "-ignoreempty", "false", "folder"
|
||||
assert File.exist?("folder/file1")
|
||||
assert_predicate testpath/"folder/file1", :exist?
|
||||
assert !File.exist?("folder/file2")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue