Speed up feature tests by disabling jQuery effects

This commit is contained in:
Dan Rice 2014-06-10 12:28:51 -04:00
parent 50b09811fc
commit 38387c844d
2 changed files with 4 additions and 0 deletions

View file

@ -15,6 +15,7 @@
// Stuff in app/assets
//= require tracks.js
//= require disable_fx_in_test
// Stuff in vendor/assets
//= require jquery-ui-1.10.0.custom.min

View file

@ -0,0 +1,3 @@
<% if Rails.env.test? || Rails.env.cucumber? %>
$.fx.off = true;
<% end %>