From a972e7b978b65c779d2b6b69b8ab7978845d19b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Mart=C3=ADn?= Date: Sun, 24 Jun 2018 02:51:52 +0200 Subject: [PATCH] Don't use CSS animations when testing. Just like jQuery animations, they can make tests fail when using Capybara. --- app/views/layouts/_no_animations_in_tests.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/layouts/_no_animations_in_tests.html.erb b/app/views/layouts/_no_animations_in_tests.html.erb index 306e16f28..e2df3fe4e 100644 --- a/app/views/layouts/_no_animations_in_tests.html.erb +++ b/app/views/layouts/_no_animations_in_tests.html.erb @@ -1 +1,8 @@ <%= javascript_tag "jQuery.fx.off = true" %> +