Sha256: ef0f1a6dbf96972afc955cd853b81f5d4e86c54615ffcf9611f098e515652caf
Contents?: true
Size: 419 Bytes
Versions: 2
Compression:
Stored size: 419 Bytes
Contents
# encoding: UTF-8 require File.expand_path("helper", File.dirname(__FILE__)) class TestDistributedSorting < Test::Unit::TestCase include Helper::Distributed def test_sort assert_raise(Redis2::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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redis2-namespaced-3.0.7.1 | test/distributed_sorting_test.rb |
redis2-namespaced-3.0.7 | test/distributed_sorting_test.rb |