Sha256: a9bf39e17a81aee11215ee4f3a8fd53e7ddf08a762ecab82a4af0f097069c7e1

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 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

load './test/lint/lists.rb'

test "RPOPLPUSH" do |r|
  assert_raise Redis::Distributed::CannotDistribute do
    r.rpoplpush("foo", "bar")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
modesty-0.1.0 vendor/redis-rb/test/distributed_commands_on_lists_test.rb