Skip to content

Instantly share code, notes, and snippets.

@djo djo/js.html.haml
Created Dec 13, 2011

Embed
What would you like to do?
Speed up your Capybara JS specs you can turn off jquery animation. In this case all animations will immediately set elements to their final state when called, rather than displaying an effect.
- if Rails.env.test?
:javascript
$.fx.off = true;
@rmontgomery429

This comment has been minimized.

Copy link

rmontgomery429 commented May 24, 2013

👍

@shangardezi

This comment has been minimized.

Copy link

shangardezi commented Apr 26, 2018

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.