Sha256: 0491fbd3abc9b3f34cf3d6141bb2041271b8768f4e10ce4224e04d60bcde82bf
Contents?: true
Size: 448 Bytes
Versions: 56
Compression:
Stored size: 448 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 "SORT" do |r| assert_raise Redis::Distributed::CannotDistribute do r.set("foo:1", "s1") r.set("foo:2", "s2") r.rpush("bar", "1") r.rpush("bar", "2") r.sort("bar", :get => "foo:*", :limit => [0, 1]) end end
Version data entries
56 entries across 56 versions & 8 rubygems