From 3ccfa645a881107fb07ba5df705ecdc3f8485f9e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 8 Feb 2013 12:52:23 -0500 Subject: [PATCH] Rails cache needs to reconnect - Fixes error with Spork / Guard --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 636bd1ae58a..e06143e3b21 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -89,6 +89,7 @@ Spork.each_run do # This code will be run each time you run your specs. $redis.client.reconnect MessageBus.reliable_pub_sub.pub_redis.client.reconnect + Rails.cache.reconnect end # --- Instructions ---