Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix failing regexp test on array types

  • Loading branch information...
commit 5193b25acdd507f133d6b753df815659009b9b01 1 parent 6b98d01
@aheckmann aheckmann authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  test/model.querying.test.js
View
3  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);
Please sign in to comment.
Something went wrong with that request. Please try again.