disable jQuery effects for tests
... might buy us a few seconds
This commit is contained in:
parent
90387e83f8
commit
024f1fee74
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue