diff --git a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy index 0411614d6..dd363481e 100644 --- a/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy +++ b/spring-data-rest-webmvc/src/test/groovy/org/springframework/data/rest/webmvc/spec/DiscoverySpec.groovy @@ -43,7 +43,7 @@ class DiscoverySpec extends BaseSpec { then: response.statusCode == HttpStatus.OK body.content.size() == 10 - body.page.totalPages == 2 + body.page.totalPages > 1 body.page.number == 1 }