Open GoogleCodeExporter opened 8 years ago
It seems that grails 2.x changed the behavior of the unit tests.
"You shouldn't test persistence with unit tests, use integration tests so your
test run against a database."
"If you want to test multiple domains you need to mock all of them. Adding
@Mock(Book) annotation to the test class should do the trick. Currently you
mock only Catalog"
Also see this link:
http://grails.1312388.n4.nabble.com/Grails-2-21-No-signature-of-method-groovy-la
ng-MissingMethodException-No-signature-of-method-grailst-td4642874.html
Original comment by ben.schreur@gmail.com
on 6 Apr 2013 at 1:21
Attachments:
Original issue reported on code.google.com by
ben.schreur@gmail.com
on 7 May 2012 at 8:56