diff --git a/test/monger/test/indexing_test.clj b/test/monger/test/indexing_test.clj index 1c591a4..7211182 100644 --- a/test/monger/test/indexing_test.clj +++ b/test/monger/test/indexing_test.clj @@ -26,6 +26,8 @@ (mc/ensure-index db collection (array-map "language" 1)) (mc/drop-indexes db collection) (mc/ensure-index db collection (array-map "language" 1) {:unique true}) + (mc/drop-indexes db collection) + (mc/ensure-index db collection (array-map "language" 1) "index-name" true) (mc/drop-indexes db collection))) (deftest ^{:indexing true :time-consuming true} test-ttl-collections