lib/quke/driver_configuration.rb in quke-0.3.1 vs lib/quke/driver_configuration.rb in quke-0.3.2
- old
+ new
@@ -50,10 +50,10 @@
def poltergeist
# The arguments we can pass to poltergeist are documented here
# https://github.com/teampoltergeist/poltergeist#customization
{
# Javascript errors will get re-raised in our tests causing them to fail
- js_errors: true,
+ js_errors: config.javascript_errors,
# How long in seconds we'll wait for response when communicating with
# Phantomjs
timeout: 30,
# When true debug output will be logged to STDERR (a terminal thing!)
debug: false,