Sha256: a2be93ea92348d38f2025d01b6168540ae733195596c5202c88f7af2e8cb4065
Contents?: true
Size: 486 Bytes
Versions: 2
Compression:
Stored size: 486 Bytes
Contents
# encoding: UTF-8 require File.expand_path("helper", File.dirname(__FILE__)) require "lint/lists" class TestDistributedCommandsOnLists < Test::Unit::TestCase include Helper::Distributed include Lint::Lists def test_rpoplpush assert_raise Redis2::Distributed::CannotDistribute do r.rpoplpush("foo", "bar") end end def test_brpoplpush assert_raise Redis2::Distributed::CannotDistribute do r.brpoplpush("foo", "bar", :timeout => 1) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redis2-namespaced-3.0.7.1 | test/distributed_commands_on_lists_test.rb |
redis2-namespaced-3.0.7 | test/distributed_commands_on_lists_test.rb |