This commit is contained in:
Michael Klishin 2012-11-23 07:24:28 +04:00
parent 28c29a7bae
commit 64bf2eff7f

View file

@ -75,7 +75,7 @@
(is (= 2 (count result)))
(is (= [doc1 doc3] result))))
(deftest query-with-sorting-on-multiple-fields
(deftest query-with-sorting-on-multiple-fields
(let [coll "docs"
doc1 { :a 1 :b 2 :c 3 :text "Whatever" :_id (ObjectId.) }
doc2 { :a 1 :b 1 :c 4 :text "Blah " :_id (ObjectId.) }