hasAndBelongsToMany - test sync scope getter
This commit is contained in:
parent
80b71438a7
commit
92a76d3edb
|
@ -1654,6 +1654,9 @@ describe('relations', function () {
|
||||||
article.tags(function (e, tags) {
|
article.tags(function (e, tags) {
|
||||||
should.not.exist(e);
|
should.not.exist(e);
|
||||||
should.exist(tags);
|
should.exist(tags);
|
||||||
|
|
||||||
|
article.tags().should.eql(tags);
|
||||||
|
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue