So we have a unit test which is failing where we attempt to call the save method on a model. This for some reason returns true when we run the method in reality. We've mocked the domain in the setUp method.
Does anyone know why the heck the save method is returning null?
Source Code here: http://gist.github.com/485365
We're running开发者_运维知识库 Grails 1.3.1
this might be an issue if you are using 1.3.3.
http://jira.codehaus.org/browse/GRAILS-6482
精彩评论