Skip to content

Commit bd7bba4

Browse files
committed
Use constant instead of hard-coding value
1 parent fb7c5f7 commit bd7bba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def _new_client(options = {})
182182
module Distributed
183183
include Generic
184184

185-
NODES = ["redis://127.0.0.1:#{PORT}/15"].freeze
185+
NODES = ["redis://127.0.0.1:#{PORT}/#{DB}"].freeze
186186

187187
def version
188188
Version.new(redis.info.first["redis_version"])

0 commit comments

Comments
 (0)