diff --git a/test/relations.test.js b/test/relations.test.js index 03b542a0..39a9f5d2 100644 --- a/test/relations.test.js +++ b/test/relations.test.js @@ -302,6 +302,10 @@ describe('relations', function () { }); function verify(physician) { physician.patients(function (err, ch) { + + var patients = physician.patients(); + patients.should.eql(ch); + should.not.exist(err); should.exist(ch); ch.should.have.lengthOf(3);