disable jQuery effects for tests

... might buy us a few seconds
This commit is contained in:
Florian Staudacher 2012-04-05 16:12:45 +02:00
parent 90387e83f8
commit 024f1fee74

View file

@ -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