Skip to content

Instantly share code, notes, and snippets.

@djo
Created December 13, 2011 10:07
Show Gist options
  • Select an option

  • Save djo/1471512 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

๐Ÿ‘

@shangardezi

Copy link
Copy Markdown

๐Ÿ‘

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