lib/fluffle/testing.rb in fluffle-0.6.0 vs lib/fluffle/testing.rb in fluffle-0.6.1
- old
+ new
@@ -171,10 +171,10 @@
def initialize(name, server:, **opts)
@name = name
@server = server
end
- def subscribe(&block)
+ def subscribe(opts = {}, &block)
@server.add_queue_subscriber @name, block
end
end
end # class LoopbackServer