Skip to content

Commit 926c6df

Browse files
committed
forgot to save the proto test
1 parent 99f3483 commit 926c6df

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/serializers/basic-query-test.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,17 +251,15 @@ QUnit.test("mongo things", function(assert) {
251251
var query = {
252252
filter: {
253253
$and: [
254-
{foo: "bar"},
255-
{zed: "ted "}
256-
]
254+
{tags: {$all: ['sbux']}},
255+
{tags: {$not: {$all: ['dfw']}}}
256+
]
257257
}
258258
};
259259

260260
var converter = makeBasicQueryConvert(EmptySchema);
261261

262262
var basicQuery = converter.hydrate(query);
263263

264-
var returnedQuery = converter.serializer.serialize(basicQuery);
265-
266-
assert.deepEqual(returnedQuery, query, "got back what we give");
264+
assert(basicQuery.filter instanceof )
267265
});

src/serializers/comparisons-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ QUnit.test("unknown hydrator is called in all cases", function(assert) {
5050

5151
QUnit.only("$not and $all can work recursively", function(assert){
5252

53-
53+
// WHat if {$not: 1} //-> is.NotIn([1]) | new is.ValuesNot(new is.In([1]))
5454
var hydrated = comparisons.hydrate( {$not: {$all: ['def']}}, function(value){
5555
return value;
5656
} );

0 commit comments

Comments
 (0)