Skip to content

Commit 24fa163

Browse files
committed
Spec fix
1 parent ae1c4ad commit 24fa163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/client_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def redis.with
2929
redlock = Redlock::Client.new(servers)
3030

3131
redlock_servers = redlock.instance_variable_get(:@servers).map do |s|
32-
s.instance_variable_get(:@redis).connection[:host]
32+
s.instance_variable_get(:@redis).config.host
3333
end
3434

3535
expect(redlock_servers).to match_array([redis1_host, redis2_host])

0 commit comments

Comments
 (0)