spec/integration/eventmachine/exchange_declare_spec.rb in amq-client-1.0.0.pre2 vs spec/integration/eventmachine/exchange_declare_spec.rb in amq-client-1.0.0
- old
+ new
@@ -63,10 +63,9 @@
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