minio-mc: use assert_predicate instead of File.exist?
This commit is contained in:
parent
96a5d6caf2
commit
60658d968b
1 changed files with 1 additions and 1 deletions
|
@ -46,6 +46,6 @@ class MinioMc < Formula
|
|||
|
||||
test do
|
||||
system bin/"mc", "mb", testpath/"test"
|
||||
assert File.exist?(testpath/"test")
|
||||
assert_predicate testpath/"test", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue