Fix test for shouldjs 8.0.2 upgrade

This commit is contained in:
Simon Ho 2015-12-22 15:03:50 -08:00 committed by Simon Ho
parent 95050e3a95
commit e4719638c7
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();
});
});