diff --git a/lib/capybara/server/animation_disabler.rb b/lib/capybara/server/animation_disabler.rb
index ed55f23e..86d86596 100644
--- a/lib/capybara/server/animation_disabler.rb
+++ b/lib/capybara/server/animation_disabler.rb
@@ -46,10 +46,11 @@ module Capybara
DISABLE_MARKUP_TEMPLATE = <<~HTML
HTML
diff --git a/lib/capybara/spec/views/with_animation.erb b/lib/capybara/spec/views/with_animation.erb
index c64ae040..2c3ef389 100644
--- a/lib/capybara/spec/views/with_animation.erb
+++ b/lib/capybara/spec/views/with_animation.erb
@@ -18,6 +18,14 @@
});