Remove some assertions that do not really test anything in the client

This commit is contained in:
Michael S. Klishin 2012-04-16 00:38:26 +04:00
parent d6adb6c0e5
commit c970a60765

View file

@ -19,9 +19,6 @@
(deftest ^{:indexing true} test-creating-and-dropping-indexes (deftest ^{:indexing true} test-creating-and-dropping-indexes
(let [collection "libraries"] (let [collection "libraries"]
(mgcol/drop-indexes collection) (mgcol/drop-indexes collection)
(is (= "_id_"
(:name (first (mgcol/indexes-on collection)))))
(is (nil? (second (mgcol/indexes-on collection))))
(mgcol/create-index collection { "language" 1 }) (mgcol/create-index collection { "language" 1 })
(is (= "language_1" (is (= "language_1"
(:name (second (mgcol/indexes-on collection))))) (:name (second (mgcol/indexes-on collection)))))