casperjs: use assert_predicate instead of File.exist?
This commit is contained in:
parent
a5660aa7c7
commit
09536a752a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue