Skip to content
Browse files

Add :max_nesting => false to remove nesting limit

  • Loading branch information...
1 parent 2cc35ee commit a3eccc3416dd2ab7063fb3b8bd1369b449439fe7 Jason Noble & Mike Gehard committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/jasmine/selenium_driver.rb
View
2 lib/jasmine/selenium_driver.rb
@@ -45,7 +45,7 @@ def run
def eval_js(script)
result = @driver.execute_script(script)
- JSON.parse("{\"result\":#{result}}")["result"]
+ JSON.parse("{\"result\":#{result}}", :max_nesting => false)["result"]
end
def json_generate(obj)

0 comments on commit a3eccc3

Please sign in to comment.
Something went wrong with that request. Please try again.