diff --git a/spec/support/wait_for_ajax.rb b/spec/support/wait_for_ajax.rb index 6a4130ccc8..2cfeb881eb 100644 --- a/spec/support/wait_for_ajax.rb +++ b/spec/support/wait_for_ajax.rb @@ -5,5 +5,5 @@ def wait_for_ajax end def finished_all_ajax_requests? - page.evaluate_script('jQuery.active').zero? + page.evaluate_script("jQuery.active").zero? end