chromedriver: use assert_predicate
This commit is contained in:
parent
80a6996328
commit
497630ae7f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue