Fix the test case
This commit is contained in:
parent
3f7e85101d
commit
a2a91499dd
|
@ -84,7 +84,7 @@ describe('basic-querying', function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should query collection with offset & limit', function (done) {
|
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.exists(users);
|
||||||
should.not.exists(err);
|
should.not.exists(err);
|
||||||
users[0].seq.should.be.eql(2);
|
users[0].seq.should.be.eql(2);
|
||||||
|
|
Loading…
Reference in New Issue