<% if Rails.env == "test" %> $(function(evt) { $.fx.off = true; }); <% end %>