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