Skip to content

A platform for community discussion. Free, open, simple.

Missed a spot in https://github.com/discourse/discourse/commit/45fe5dc793e8baf06c7d35e530842e5fff189828

Guo Xiang Tan98d880b67a3b
diff --git a/spec/components/discourse_redis_spec.rb b/spec/components/discourse_redis_spec.rb
index c1b94859f9e..ea824d75f86 100644
--- a/spec/components/discourse_redis_spec.rb
+++ b/spec/components/discourse_redis_spec.rb
@@ -188,7 +188,7 @@ describe DiscourseRedis do
it 'should fallback to the master server once it is up' do
fallback_handler.master = false
- redis_connection = DiscourseRedis.raw_connection.client
+ redis_connection = DiscourseRedis.raw_connection._client
Redis::Client.expects(:new).with(DiscourseRedis.slave_config).returns(redis_connection)
redis_connection.expects(:call).with([:info]).returns(DiscourseRedis::FallbackHandler::MASTER_LINK_STATUS)