Refactort server and client

This commit is contained in:
Dominik Adam Przybysz 2014-12-13 18:56:07 +01:00
parent f72e510fea
commit fda5b6ca5c
13 changed files with 188 additions and 96 deletions

View file

@ -334,8 +334,8 @@ class MockServerIntegrationTest extends Specification {
when:
CloseableHttpResponse response = client.execute(restHead)
then:
response.statusLine.statusCode == 200
EntityUtils.consumeQuietly(response.entity)
response.statusLine.statusCode == 200
}
def "should dispatch rest mock with options method"() {