From 7ee8bfbac4cc5348782f0b51de3c1736db69fec9 Mon Sep 17 00:00:00 2001
From: Benjamin Neff <benjamin@coding4coffee.ch>
Date: Sun, 30 Jul 2017 05:00:11 +0200
Subject: [PATCH] Precompile poltergeist_disable_transition.css for tests

---
 config/environments/test.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/config/environments/test.rb b/config/environments/test.rb
index c9fd1846d0..ad06a51ac9 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -19,6 +19,9 @@ Diaspora::Application.configure do
   # No assets request logging
   config.assets.quiet = true
 
+  # Precompile poltergeist_disable_transition.css for tests
+  config.assets.precompile += %w[poltergeist_disable_transition.css]
+
   # Show full error reports and disable caching
   config.consider_all_requests_local       = true
   config.action_controller.perform_caching = false
-- 
GitLab