From e60c8f86eac1578c43b85e690a0a6d4c2533514e Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 27 Feb 2017 08:55:27 +0000 Subject: [PATCH] Sync docs from 1.0.x to gh-pages --- 1.0.x/spring-cloud-contract.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/1.0.x/spring-cloud-contract.html b/1.0.x/spring-cloud-contract.html index d7544895cb..240fba2451 100644 --- a/1.0.x/spring-cloud-contract.html +++ b/1.0.x/spring-cloud-contract.html @@ -1114,7 +1114,7 @@ public class ApplicationTests { public void contextLoads() throws Exception { mockMvc.perform(post("/resource") .content("{\"id\":\"123456\",\"message\":\"Hello World\"}")) - .andExpect(status.isOk()) + .andExpect(status().isOk()) .andDo(verify().jsonPath("$.id") .stub("resource")); } @@ -1139,7 +1139,7 @@ created stub. Example:

public void contextLoads() throws Exception { mockMvc.perform(post("/resource") .content("{\"id\":\"123456\",\"message\":\"Hello World\"}")) - .andExpect(status.isOk()) + .andExpect(status().isOk()) .andDo(verify() .wiremock(WireMock.post( urlPathEquals("/resource"))