Skip to content

Commit

Permalink
docs(example): add simple example
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphaël Benitte committed Jun 28, 2017
1 parent 3ee554a commit 23c490e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ httpApi.install({

### API testing

#### Making a simple request and testing its status code

``` gherkin
Scenario: Using GitHub API
When I GET https://api.github.com/
Then I should receive a 200 HTTP status code
```

[npm-image]: https://img.shields.io/npm/v/@ekino/veggies.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@ekino/veggies
[travis-image]: https://img.shields.io/travis/ekino-node-staging/veggies.svg?style=flat-square
Expand Down

0 comments on commit 23c490e

Please sign in to comment.