arempe93 / bunny-mock

A mock client for RabbitMQ modeled after the Bunny client in ruby
http://www.rubydoc.info/github/arempe93/bunny-mock
MIT License
44 stars 37 forks source link

add generate_consumer_tag to BunnyMock::Channel #31

Closed 0xjmp closed 7 years ago

0xjmp commented 7 years ago

I came across an undefined method error at runtime error while using minitest:

screen shot 2017-05-16 at 12 21 27 am

Versions: ruby: 2.3.3 bunny: 2.6.5 bunny-mock: 1.6.0

I was able to fix this issue by copying the generate_consumer_tag method definition from the bunny gem's Bunny::Channel class into the bunny-mock gem's Bunny::Channel.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling ad46b54e7d138b9020046eeef69fef45e132fafc on Jakenberg:master into ae68e7150b9706325e21b3d6fbbf5a4cb1c31fab on arempe93:master.

arempe93 commented 7 years ago

Thanks @Jakenberg!