Skip to content

Commit c158306

Browse files
committedMar 11, 2016
Fix 'passsword' typo
1 parent e3b766c commit c158306

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ json, or even file attachments added to it, all with a simple API:
8080
chai.request(app)
8181
.put('/user/me')
8282
.set('X-API-Key', 'foobar')
83-
.send({ passsword: '123', confirmPassword: '123' })
83+
.send({ password: '123', confirmPassword: '123' })
8484
```
8585

8686
```js
@@ -120,7 +120,7 @@ To make the request and assert on its response, the `end` method can be used:
120120
```js
121121
chai.request(app)
122122
.put('/user/me')
123-
.send({ passsword: '123', confirmPassword: '123' })
123+
.send({ password: '123', confirmPassword: '123' })
124124
.end(function (err, res) {
125125
expect(err).to.be.null;
126126
expect(res).to.have.status(200);
@@ -135,7 +135,7 @@ and chaining of `then`s becomes possible:
135135
```js
136136
chai.request(app)
137137
.put('/user/me')
138-
.send({ passsword: '123', confirmPassword: '123' })
138+
.send({ password: '123', confirmPassword: '123' })
139139
.then(function (res) {
140140
expect(res).to.have.status(200);
141141
})

0 commit comments

Comments
 (0)
Please sign in to comment.