Rack middleware to disable CSS animations sitewide. Useful for making acceptance tests quicker and more deterministic.
Add this line to your application's Gemfile:
gem 'rack-disable_css_animations'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-disable_css_animations
If using Rails, add the middleware to your test environment in config/environments/test.rb
:
config.middleware.use Rack::DisableCSSAnimations
- Fork it ( https://github.com/botandrose/rack-disable_css_animations/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request