diff --git a/test/model.querying.test.js b/test/model.querying.test.js index 12ec4f4e520..411eb399b90 100644 --- a/test/model.querying.test.js +++ b/test/model.querying.test.js @@ -666,10 +666,9 @@ module.exports = { BlogPostB.findOne({tags: {$in: ['football', 'baseball']}}, function (err, doc) { should.strictEqual(err, null); - doc._id.should.eql(post._id); - BlogPostB.find({ _id: post._id, tags: /otba/i }, function (err, doc) { + BlogPostB.findOne({ _id: post._id, tags: /otba/i }, function (err, doc) { should.strictEqual(err, null); doc._id.should.eql(post._id);