Fix test for shouldjs 8.0.2 upgrade
This commit is contained in:
parent
edd2d301e5
commit
b63133d1d6
|
@ -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