spec/integration/extensions/rabbitmq/publisher_confirmations_spec.rb in amqp-0.9.7 vs spec/integration/extensions/rabbitmq/publisher_confirmations_spec.rb in amqp-0.9.8
- old
+ new
@@ -114,10 +114,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)