From 92a76d3edb661827a54d040cca70a9428a11776b Mon Sep 17 00:00:00 2001 From: Fabien Franzen Date: Thu, 4 Sep 2014 21:30:41 +0200 Subject: [PATCH] hasAndBelongsToMany - test sync scope getter --- test/relations.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/relations.test.js b/test/relations.test.js index 89f42802..09b5b123 100644 --- a/test/relations.test.js +++ b/test/relations.test.js @@ -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(); }); });