Skip to content

Instantly share code, notes, and snippets.

@djo
Created December 13, 2011 10:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djo/1471512 to your computer and use it in GitHub Desktop.
Save djo/1471512 to your computer and use it in GitHub Desktop.
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
Copy link

👍

@shangardezi
Copy link

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment