From 024f1fee745376bcf5747e3e487bbebc778b20fd Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Thu, 5 Apr 2012 16:12:45 +0200 Subject: [PATCH] disable jQuery effects for tests ... might buy us a few seconds --- app/helpers/application_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 92ec5f6f9..37792ffd5 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -49,6 +49,7 @@ module ApplicationHelper end buf << [ javascript_include_tag('jquery_ujs') ] buf << [ javascript_tag("jQuery.ajaxSetup({'cache': false});") ] + buf << [ javascript_tag("$.fx.off = true;") ] if Rails.env.test? buf.join("\n").html_safe end end