Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
typo
  • Loading branch information
alsotang committed Apr 15, 2016
1 parent 1d0b088 commit fa14f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lesson8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,12 @@ describe('test/app.test.js', function () {
var supertest = require('supertest');
var userCookie;
supertest.post('login').end(function (err, res) {
userCookie = res.headers['Cookie']
userCookie = res.headers['set-cookie']
});
// then ..
supertest.post('create_topic')
.set('Cookie', userCookie)
.set('cookie', userCookie)
.end(...)
```

Expand Down

0 comments on commit fa14f95

Please sign in to comment.