lib/bunny_mock/exchange.rb in bunny-mock-1.3.0 vs lib/bunny_mock/exchange.rb in bunny-mock-1.4.0

- old
+ new

@@ -112,10 +112,10 @@ # @see {BunnyMock::Exchanges::Headers#deliver} # @api public # def publish(payload, opts = {}) # handle message sending, varies by type - deliver payload, opts, opts.fetch(:routing_key, '') + deliver(payload, opts.merge(exchange: name), opts.fetch(:routing_key, '')) self end ##