Permalink
Browse files

add failing regexp query on array types

  • Loading branch information...
1 parent 16b55ef commit 0a4777ea05d1a13ab648166fc3fa292ca584a194 @aheckmann aheckmann committed Mar 22, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 test/model.querying.test.js
@@ -668,7 +668,13 @@ module.exports = {
should.strictEqual(err, null);
doc._id.should.eql(post._id);
- db.close();
+
+ BlogPostB.find({ _id: post._id, tags: /otba/i }, function (err, doc) {
+ should.strictEqual(err, null);
+ doc._id.should.eql(post._id);
+
+ db.close();
+ })
});
});
},

0 comments on commit 0a4777e

Please sign in to comment.