Refactor (ruby) redis configuration (#31694)
This commit is contained in:
parent
a23b3747ac
commit
388d5473e1
20 changed files with 295 additions and 90 deletions
|
@ -176,5 +176,5 @@ def stub_reset_connection_pools
|
|||
# TODO: Is there a better way to correctly run specs without stubbing this?
|
||||
# (Avoids reset_connection_pools! in test env)
|
||||
allow(ActiveRecord::Base).to receive(:establish_connection)
|
||||
allow(RedisConfiguration).to receive(:establish_pool)
|
||||
allow(RedisConnection).to receive(:establish_pool)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue