Hello,
I am trying to write some Spock tests for an app. The app uses the JSONlib plugin. However, it appears that in the Gaelyk test environment, the plugin's JsonLibCategory is not being applied. i.e. when my Groovlet under test executes:
response.renderJson(foo)
the test is throwing a MissingMethodException for renderJson.
Am I supposed to have to put my test's call to get() inside a with() block to overcome this? Or is this happening because Mock(HttpServletResponse) does not inherit the categories applied to HttpServletResponse?
Thanks in advance,
Michael