Merge pull request #804 from strongloop/upgrade-shouldjs

Upgrade shouldjs to 8.0.2
This commit is contained in:
Simon Ho 2015-12-23 15:38:37 -08:00
commit 2e22583fcc
2 changed files with 3 additions and 2 deletions

View File

@ -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",

View File

@ -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();
});
});