From e4719638c79c76ee9ae8590db92fbbb890a8bf07 Mon Sep 17 00:00:00 2001 From: Simon Ho Date: Tue, 22 Dec 2015 15:03:50 -0800 Subject: [PATCH] Fix test for shouldjs 8.0.2 upgrade --- test/include.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/include.test.js b/test/include.test.js index 3f954a70..07cf73a9 100644 --- a/test/include.test.js +++ b/test/include.test.js @@ -102,7 +102,8 @@ describe('include', function () { user.id.should.eql(passport.ownerId); user.__cachedRelations.should.have.property('posts'); user.should.have.property('posts'); - user.toJSON().should.have.property('posts').and.be.an.Array.with.lengthOf(0); + user.toJSON().should.have.property('posts').and.be.an.Array().with + .length(0); done(); }); });