Merge pull request #804 from strongloop/upgrade-shouldjs
Upgrade shouldjs to 8.0.2
This commit is contained in:
commit
2e22583fcc
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue