gpc / jms

JMS integration for Grails.
http://grails.org/plugin/jms
16 stars 28 forks source link

Changes to the TransactionalSendingSpec aimed to aid its readability. #9

Closed berngp closed 9 years ago

berngp commented 9 years ago

The way the tests in the TransactionalSendingSpec were written didn't aid in understanding the purpose of each of the test. This commit is an attempt to rewrite the verbiage and aid the reader. There is also an exception thrown intentionally as part of one of the tests, the previous message was very cryptic and just confused folks reading the output of grails test-app. I rewrote the Exception message to better explain its intentions and added a try-catch to avoid any confusions in the console output.