Skip to content

Commit

Permalink
docs: fix form test example in README (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
barraponto authored and keithamus committed Jun 22, 2017
1 parent 6e88c38 commit 77a7a93
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -87,9 +87,12 @@ chai.request(app)
// Send some Form Data
chai.request(app)
.post('/user/me')
.field('_method', 'put')
.field('password', '123')
.field('confirmPassword', '123')
.type('form')
.send({
'_method': 'put',
'password': '123',
'confirmPassword': '123'
})
```

```js
Expand Down

0 comments on commit 77a7a93

Please sign in to comment.