Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergFlade authored and JoergFlade committed Sep 23, 2020
1 parent 7acebe7 commit 28f6f48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ Scenario:
In this case, the JSON is written directly under the sentence and enclosed in three double quotation marks.
Here it is also possible to use [JSON Unit](https://github.com/lukas-krecan/JsonUnit) syntax to validate dynamic elements.

#### Validate response http code and body together
#### Validate response HTTP code and body together
```gherkin
Scenario:
Then I ensure that the response code is 201 and the body is equal to
Expand All @@ -379,7 +379,7 @@ In this case, the response status code is part of the sentence, and the JSON is
Here it is also possible to use [JSON Unit](https://github.com/lukas-krecan/JsonUnit) syntax to validate dynamic elements.


#### Validate response http code and body together with a JSON file
#### Validate response HTTP code and body together with a JSON file
```gherkin
Scenario:
Then I ensure that the response code is 200 and the body is equal to the file "response.json"
Expand Down

0 comments on commit 28f6f48

Please sign in to comment.