lib/bunny_mock/exchange.rb in bunny-mock-1.0.0 vs lib/bunny_mock/exchange.rb in bunny-mock-1.1.0

- old
+ new

@@ -135,9 +135,12 @@ # @param [Hash] opts Options (insignificant) # # @api public # def delete(opts = {}) + + @channel.deregister_exchange self + @deleted = true end ## # Bind this exchange to another exchange