Sha256: 89ca3a204ed215fe7a03b799d5aae5d2e49d92687e6b41b316b42c00b26be44a
Contents?: true
Size: 400 Bytes
Versions: 2
Compression:
Stored size: 400 Bytes
Contents
# encoding: UTF-8 require File.expand_path("./helper", File.dirname(__FILE__)) require "redis/distributed" setup do log = StringIO.new init Redis::Distributed.new(NODES, :logger => ::Logger.new(log)) end test "PING" do |r| assert ["PONG"] == r.ping end test "SELECT" do |r| r.set "foo", "bar" r.select 14 assert nil == r.get("foo") r.select 15 assert "bar" == r.get("foo") end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
gorsuch-redis-3.0.0.rc1 | test/distributed_connection_handling_test.rb |
redis-3.0.0.rc1 | test/distributed_connection_handling_test.rb |