Permalink
Browse files

fix failing test

  • Loading branch information...
1 parent c34ab91 commit 7ada28516d9f532d5b901316e22b9dcf7ca46173 @graemerocher graemerocher committed Mar 23, 2012
@@ -16,12 +16,12 @@ class SubclassRequestWithApiDelegateSpec extends Specification {
def gcl = new GroovyClassLoader()
gcl.parseClass '''
-import org.springframework.mock.web.MockHttpServletRequest
+import org.codehaus.groovy.grails.plugins.testing.GrailsMockHttpServletRequest
import org.codehaus.groovy.grails.plugins.web.api.RequestMimeTypesApi
import grails.artefact.ApiDelegate
import javax.servlet.http.HttpServletRequest
-class GrailsMockHttpServletRequest extends MockHttpServletRequest {
+class GrailsMockHttpServletRequest extends GrailsMockHttpServletRequest {
@ApiDelegate(HttpServletRequest) RequestMimeTypesApi requestMimeTypesApi = new RequestMimeTypesApi()
}
'''

0 comments on commit 7ada285

Please sign in to comment.