diff --git a/README.md b/README.md index eb1b582..e1b34a9 100644 --- a/README.md +++ b/README.md @@ -148,7 +148,7 @@ describe('GET /users', function() { .expect('Content-Type', /json/) .expect(200) .then(response => { - assert(response.body.email, 'foo@bar.com') + expect(response.body.email).toEqual('foo@bar.com'); }) }); });