diff --git a/config/environments/test.rb b/config/environments/test.rb
index c9fd1846d03bb6e695bef27c8456477583e92285..ad06a51ac984c377400aadc4e02b0bf8bdb4b8e5 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