diff --git a/package.json b/package.json index 27ab3fe4..88fb22b3 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "devDependencies": { "bluebird": "^2.9.9", "mocha": "^2.1.0", - "should": "^5.0.0" + "should": "^8.0.2" }, "dependencies": { "async": "~1.0.0", 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(); }); });