不要怂,就是干,撸起袖子干!

Commit 57e02741 by Mick Hansen

add group to test

1 parent f3d54bf2
Showing with 4 additions and 1 deletions
......@@ -1907,6 +1907,9 @@ describe(Support.getTestDialectTeaser('Include'), function() {
],
include: [
{association: Post.Comments, attributes: []}
],
group: [
'Post.id'
]
});
}).then(function (posts) {
......@@ -1915,7 +1918,7 @@ describe(Support.getTestDialectTeaser('Include'), function() {
var post = posts[0];
expect(post.get('comments')).not.to.be.ok;
expect(post.get('commentCount')).to.equal(3);
expect(parseInt(post.get('commentCount'), 10)).to.equal(3);
});
});
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!