One more expect in the test.

This commit is contained in:
gaba
2016-12-15 15:08:01 -08:00
parent eb98a41bd5
commit 670567b8b3
+1
View File
@@ -92,6 +92,7 @@ describe('/api/v1/comments', () => {
.then(res => {
expect(res).to.have.status(200);
expect(res.body.comments).to.have.length(2);
expect(res.body.comments[0]).to.have.property('author_id', '456');
expect(res.body.comments[1]).to.have.property('author_id', '456');
});
});