hasAndBelongsToMany - test sync scope getter

This commit is contained in:
Fabien Franzen 2014-09-04 21:30:41 +02:00
parent 80b71438a7
commit 92a76d3edb
1 changed files with 3 additions and 0 deletions

View File

@ -1654,6 +1654,9 @@ describe('relations', function () {
article.tags(function (e, tags) {
should.not.exist(e);
should.exist(tags);
article.tags().should.eql(tags);
done();
});
});