Sha256: a732738858c297e712351dff8997bfe23791c677d2bba096cc89ab46dd3786ee
Contents?: true
Size: 401 Bytes
Versions: 54
Compression:
Stored size: 401 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
54 entries across 54 versions & 7 rubygems