Sha256: b0541201af7b6f6b07e33f91f3a3e29d94e075786cd707190e025ce822b74ea6
Contents?: true
Size: 484 Bytes
Versions: 21
Compression:
Stored size: 484 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 Redis::Distributed::CannotDistribute do r.rpoplpush("foo", "bar") end end def test_brpoplpush assert_raise Redis::Distributed::CannotDistribute do r.brpoplpush("foo", "bar", :timeout => 1) end end end
Version data entries
21 entries across 20 versions & 7 rubygems