spec/integration/extensions/rabbitmq/publisher_confirmations_spec.rb in amqp-1.0.0.pre2 vs spec/integration/extensions/rabbitmq/publisher_confirmations_spec.rb in amqp-1.0.0
- old
+ new
@@ -130,10 +130,10 @@
exchange.on_return do |basic_return, metadata, payload|
fail "Should never happen"
end
EventMachine.add_timer(0.5) do
- exchange.publish("Hi", :persistent => false, :immediately => true)
+ exchange.publish("Hi", :persistent => false)
end
done(2.0) do
events.should include(:basic_ack)
events.should include(:basic_delivery)