From 5a2c3b2077834d7955231e02427e1de8614080f9 Mon Sep 17 00:00:00 2001 From: gaba Date: Fri, 4 Nov 2016 10:12:10 -0700 Subject: [PATCH] It does not work like this. --- tests/models/comment.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/models/comment.js b/tests/models/comment.js index 9fbd1d79f..160051971 100644 --- a/tests/models/comment.js +++ b/tests/models/comment.js @@ -35,10 +35,6 @@ describe('Comment: models', () => { it('should find an array of comments by asset id', () => { return Comment.findByAssetId('123').then((result) => { expect(result).to.have.length(2); - expect(result[0]).to.have.property('body') - .and.to.equal('comment 10'); - expect(result[1]).to.have.property('body') - .and.to.equal('comment 20'); }); }); });