Permalink
Browse files

fix failing regexp test on array types

  • Loading branch information...
1 parent 6b98d01 commit 5193b25acdd507f133d6b753df815659009b9b01 @aheckmann aheckmann committed Mar 22, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 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);

0 comments on commit 5193b25

Please sign in to comment.