Fix test for shouldjs 8.0.2 upgrade

This commit is contained in:
Simon Ho 2015-12-22 15:03:50 -08:00
parent edd2d301e5
commit b63133d1d6
1 changed files with 2 additions and 1 deletions

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