spec/integration/queue_declaration_spec.rb in amqp-1.1.8 vs spec/integration/queue_declaration_spec.rb in amqp-1.2.0
- old
+ new
@@ -45,9 +45,10 @@
context "when queue name is passed on as an empty string" do
context "and :nowait isn't used" do
it "uses server-assigned queue name" do
@channel.queue("") do |queue, *args|
queue.name.should_not be_empty
+ queue.should be_anonymous
queue.delete
done
end
end
end