mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 11:10:12 +01:00
Speed up feature tests by disabling jQuery effects
This commit is contained in:
parent
50b09811fc
commit
38387c844d
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
3
app/assets/javascripts/disable_fx_in_test.js.erb
Normal file
3
app/assets/javascripts/disable_fx_in_test.js.erb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<% if Rails.env.test? || Rails.env.cucumber? %>
|
||||
$.fx.off = true;
|
||||
<% end %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue