diff --git a/test/basic-querying.test.js b/test/basic-querying.test.js index 15a8f2af..21ffd4ec 100644 --- a/test/basic-querying.test.js +++ b/test/basic-querying.test.js @@ -145,7 +145,7 @@ describe('basic-querying', function() { it('should find first record (default sort by id)', function(done) { User.all({order: 'id'}, function(err, users) { - User.findOne(function(e, u) { + User.findOne({order: 'id'}, function(e, u) { should.not.exist(e); should.exist(u); u.id.toString().should.equal(users[0].id.toString());