Minor fix to unit test
This commit is contained in:
parent
8faae187b2
commit
1af3be056c
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ describe('Books App routes test', () => {
|
|||
|
||||
it('GET to /authors should return 200', (done) => {
|
||||
chai.request(reqServer)
|
||||
.get('/author')
|
||||
.get('/authors')
|
||||
.end((err, res) => {
|
||||
expect(res).to.have.status(200);
|
||||
expect(res.text).to.include('James_Joyce');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue