I am writing a spock unit test that 开发者_开发问答tests a controller method. The controller action under test instantiates a new domain instance object and
import grails.plugin.spock.* class EventControllerSpec extends ControllerSpec { def \"Creating a breadcrumb from an event\"() {
I\'m writing a Spock Spec (unit test) for a Service in Grails 1.3.5, and I\'ve run across the following error:
I have the following: while($myRow = odbc_fetch_array( $result )){ <--lots of rows $thisResult[\'name\'] = $myRow[\"name\"] ;