spec/integration/coolio/exchange_declare_spec.rb in amq-client-0.9.12 vs spec/integration/coolio/exchange_declare_spec.rb in amq-client-1.0.0.pre1
- old
+ new
@@ -32,9 +32,10 @@
end
exchange = AMQ::Client::Exchange.new(client, channel, exchange_name, :fanout)
exchange.declare(true, false, false, false) do
@callback_fired = true
end
+ delayed(0.1) { exchange.delete }
done(0.5)
end
end
@callback_fired.should be_false