Fix the test case

This commit is contained in:
Raymond Feng 2014-06-20 21:07:26 -07:00
parent 3f7e85101d
commit a2a91499dd
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ describe('basic-querying', function () {
});
it('should query collection with offset & limit', function (done) {
User.find({offset: 2, limit: 3}, function (err, users) {
User.find({offset: 2, limit: 3, order: 'seq'}, function (err, users) {
should.exists(users);
should.not.exists(err);
users[0].seq.should.be.eql(2);