On Mon, Dec 19, 2011 at 4:31 PM, Sam Carr <samc...@mac.com> wrote:
Note that your Spock tests should subclass Specification, not UnitSpec
with Grails 2. Then you should use the @TestFor and @Mock annotations to
hook into Grails' new test support. So a controller unit test might start
as below. See the Grails 2.0 testing docs for more information.
Hi Sam, I haven't switched to using Grails new test support, but I just
checked with Luke and it is not a must. So I assume, even using the
previous 1.3.7 style test support is supported, but I am running into an
issue with that.