casperjs: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:02 -07:00
parent a5660aa7c7
commit 09536a752a

View file

@ -31,6 +31,6 @@ class Casperjs < Formula
EOS
system bin/"casperjs", testpath/"fetch.js"
assert File.exist?("dax-alt.svg")
assert_predicate testpath/"dax-alt.svg", :exist?
end
end