Created
December 13, 2011 10:07
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- if Rails.env.test? | |
:javascript | |
$.fx.off = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
๐