Sha256: 335d2a587ba6731809145af88119efc3861a427b38fe1cbde54647d39112f1d8
Contents?: true
Size: 366 Bytes
Versions: 5
Compression:
Stored size: 366 Bytes
Contents
require_relative "helper" class TestDistributedSorting < Test::Unit::TestCase include Helper::Distributed def test_sort 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 end
Version data entries
5 entries across 5 versions & 1 rubygems