spec/integration/eventmachine/exchange_declare_spec.rb in amq-client-0.9.12 vs spec/integration/eventmachine/exchange_declare_spec.rb in amq-client-1.0.0.pre1

- old
+ new

@@ -63,9 +63,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.3) end end @callback_fired.should be_false