We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae1c4ad commit 24fa163Copy full SHA for 24fa163
spec/client_spec.rb
@@ -29,7 +29,7 @@ def redis.with
29
redlock = Redlock::Client.new(servers)
30
31
redlock_servers = redlock.instance_variable_get(:@servers).map do |s|
32
- s.instance_variable_get(:@redis).connection[:host]
+ s.instance_variable_get(:@redis).config.host
33
end
34
35
expect(redlock_servers).to match_array([redis1_host, redis2_host])
0 commit comments