tirsen / activemessaging

ActiveMessaging is an attempt to bring the simplicity and elegance of Rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries etc
0 stars 0 forks source link

parameter name error in test_helper.rb, assert_has_messages method #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is found in revision 101.

The passed-in parameter called "queue_name" , but in the first line of the
method

queue_name = ActiveMessaging::Gateway.find_queue(queue).destination

it tries to find a parameter called "queue", which will give a NameError:
undefined local variable or method `queue' for ...

Original issue reported on code.google.com by snowzhan...@gmail.com on 7 Jun 2007 at 1:58

GoogleCodeExporter commented 9 years ago
Fixed in 102.

Original comment by anti.god...@gmail.com on 9 Jun 2007 at 12:26