Skip to content

Commit

Permalink
Correct examples to match actual steps
Browse files Browse the repository at this point in the history
Apparently examples got out of sync with code and where missing JSON mention.
  • Loading branch information
adambro authored and christeredvartsen committed Sep 15, 2019
1 parent 49246d0 commit 9ae9704
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/guide/verify-server-response.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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.

Expand All @@ -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.

Expand Down

0 comments on commit 9ae9704

Please sign in to comment.