Skip to content

Commit 8b356f7

Browse files
committed
use the existing defined Redis for tests
1 parent b698648 commit 8b356f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/redis_queue_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def q
8080
end
8181

8282
def backend
83-
redis = Redis.new(:host => "127.0.0.1", :port => 9736)
84-
Redis::Namespace.new :resque, :redis => redis
83+
Redis::Namespace.new :resque, :redis => Resque.redis
8584
end
8685
end

0 commit comments

Comments
 (0)