examples/testing.rb in fluffle-0.5.0 vs examples/testing.rb in fluffle-0.5.1
- old
+ new
@@ -11,10 +11,10 @@
dispatcher.handle('foo') { 'bar' }
end
server.start
-client = Fluffle::Client.new url: 'amqp://localhost'
+client = Fluffle::Client.new url: 'amqp://localhost', confirms: true
timings = 10.times.map do
t0 = Time.now
client.call('foo').inspect
Time.now - t0