Rails cache needs to reconnect - Fixes error with Spork / Guard
This commit is contained in:
parent
e96bd8fd01
commit
3ccfa645a8
|
@ -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 ---
|
||||
|
|
Loading…
Reference in New Issue