lib/fluffle/testing.rb in fluffle-0.8.0 vs lib/fluffle/testing.rb in fluffle-0.8.1

- old
+ new

@@ -120,14 +120,10 @@ def default_exchange @default_exchange ||= Exchange.new(@server, self) end - def work_pool - @work_pool ||= WorkPool.new - end - def confirm_select(block = nil) @confirm_select = block @next_publish_seq_no = 1 end @@ -156,9 +152,12 @@ @next_publish_seq_no += 1 if @next_publish_seq_no > 0 end def ack(delivery_tag, multiple = false) true + end + + def close end end class Exchange def initialize(server, channel)