From 3a8969e55fb81fba8e71171700e8522df5b4f168 Mon Sep 17 00:00:00 2001 From: Jon Brisbin Date: Mon, 30 Jul 2012 14:30:57 -0500 Subject: [PATCH] Trying to fix build failures due to strange transaction issues not experienced in local builds. --- .../data/rest/webmvc/spec/QueryMethodsSpec.groovy | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy index 72860efa4..b12d9142e 100644 --- a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy +++ b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/QueryMethodsSpec.groovy @@ -5,6 +5,7 @@ import org.springframework.data.rest.test.webmvc.Person import org.springframework.data.rest.webmvc.PagingAndSorting import org.springframework.data.rest.webmvc.RepositoryRestConfiguration import org.springframework.http.HttpStatus +import org.springframework.transaction.annotation.Transactional import spock.lang.Shared import java.lang.reflect.InvocationTargetException @@ -32,6 +33,7 @@ class QueryMethodsSpec extends BaseSpec { } + @Transactional def "invokes query methods"() { given: @@ -49,6 +51,7 @@ class QueryMethodsSpec extends BaseSpec { } + @Transactional def "blows up on empty query parameters"() { given: