qpm: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:47:49 -07:00
parent ac59da2358
commit 3e12137d49

View file

@ -50,6 +50,6 @@ class Qpm < Formula
test do test do
system bin/"qpm", "install", "io.qpm.example" system bin/"qpm", "install", "io.qpm.example"
assert File.exist?(testpath/"qpm.json") assert_predicate testpath/"qpm.json", :exist?
end end
end end