spec/sneakers/queue_spec.rb in sneakers-0.0.2 vs spec/sneakers/queue_spec.rb in sneakers-0.0.3
- old
+ new
@@ -20,10 +20,10 @@
mkbunny = Object.new
mkchan = Object.new
mkex = Object.new
mkqueue = Object.new
- mock(mkbunny).start {}
+ mock(mkbunny).start(anything) {}
mock(mkbunny).create_channel{ mkchan }
mock(Bunny).new(:heartbeat_interval => 2){ mkbunny }
mock(mkchan).prefetch(25)
mock(mkchan).exchange("sneakers", :type => :direct, :durable => true){ mkex }