chromedriver: use assert_predicate

This commit is contained in:
Dominyk Tiller 2017-10-06 21:40:42 +01:00 committed by ilovezfs
parent 80a6996328
commit 497630ae7f

View file

@ -45,6 +45,6 @@ class Chromedriver < Formula
end end
sleep 5 sleep 5
Process.kill("TERM", driver) Process.kill("TERM", driver)
File.exist? testpath/"cd.log" assert_predicate testpath/"cd.log", :exist?
end end
end end