From 9ae970417b8b4bb3c0df80e1efdd97b0d3136f9e Mon Sep 17 00:00:00 2001 From: Adam Brodziak Date: Sun, 17 Mar 2019 10:47:31 +0100 Subject: [PATCH] Correct examples to match actual steps Apparently examples got out of sync with code and where missing JSON mention. --- docs/guide/verify-server-response.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/guide/verify-server-response.rst b/docs/guide/verify-server-response.rst index dc9bfb4..e4e3e47 100644 --- a/docs/guide/verify-server-response.rst +++ b/docs/guide/verify-server-response.rst @@ -207,8 +207,8 @@ Assert that the length of the JSON array in the response body equals ``:length`` **Examples:** -* Then the response body is an array of length ``1`` -* Then the response body is an array of length ``3`` +* Then the response body is a JSON array of length ``1`` +* Then the response body is a JSON array of length ``3`` If the response body does not contain a JSON array, the test will fail. @@ -219,8 +219,8 @@ Assert that the length of the JSON array in the response body has a length of at **Examples:** -* Then the response body is an array with a length of at least ``4`` -* Then the response body is an array with a length of at least ``5`` +* Then the response body is a JSON array with a length of at least ``4`` +* Then the response body is a JSON array with a length of at least ``5`` If the response body does not contain a JSON array, the test will fail. @@ -231,8 +231,8 @@ Assert that the length of the JSON array in the response body has a length of at **Examples:** -* Then the response body is an array with a length of at most ``4`` -* Then the response body is an array with a length of at most ``5`` +* Then the response body is a JSON array with a length of at most ``4`` +* Then the response body is a JSON array with a length of at most ``5`` If the response body does not contain a JSON array, the test will fail.