Sha256: 4f92e897aa26a38cf5ccf60c65f82f48b260ac735e7e7506c1ef59315ad79ff8
Contents?: true
Size: 694 Bytes
Versions: 32
Compression:
Stored size: 694 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require 'integration/eventmachine/spec_helper' describe AMQ::Client::EventMachineClient, "queue.declare" do # # Environment # include EventedSpec::SpecHelper default_timeout 1 # # Examples # context "when queue name is nil" do it "raises ArgumentError" do em_amqp_connect do |connection| ch = AMQ::Client::Channel.new(connection, 1) ch.open do |ch| begin AMQ::Client::Queue.new(connection, ch, nil) rescue ArgumentError => ae ae.message.should =~ /queue name must not be nil/ done end end end end end # context end
Version data entries
32 entries across 32 versions & 1 rubygems