Skip to content

Commit c42ebe3

Browse files
committed
Forces Model.find() offset test to check for length value
1 parent 27ba69d commit c42ebe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration2/model-find.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe("Model.find()", function() {
240240
Person.find({}, { offset: 1 }, "age", function (err, people) {
241241
should.not.exist(err);
242242
people.should.be.a("object");
243-
people.should.have.property("length");
243+
people.should.have.property("length", 4);
244244
Number(people[0].age).should.equal(18);
245245

246246
return done();

0 commit comments

Comments
 (0)