From bf2207a043a92479dad466596938e883a3ad42c8 Mon Sep 17 00:00:00 2001 From: linzhaoming Date: Mon, 27 Feb 2017 16:40:52 +0800 Subject: [PATCH] Fixed a typo in docs (#234) --- docs/src/main/asciidoc/spring-cloud-wiremock.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-wiremock.adoc b/docs/src/main/asciidoc/spring-cloud-wiremock.adoc index 09f221f993..087d19afe2 100644 --- a/docs/src/main/asciidoc/spring-cloud-wiremock.adoc +++ b/docs/src/main/asciidoc/spring-cloud-wiremock.adoc @@ -183,7 +183,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")); } @@ -206,7 +206,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"))