From d337cd154665aecb06dfb03712403a73a1aebb7a Mon Sep 17 00:00:00 2001 From: Joshua Karstendick Date: Tue, 23 Jun 2015 17:21:05 -0400 Subject: [PATCH] added failing unit test --- test/monger/test/indexing_test.clj | 2 ++ 1 file changed, 2 insertions(+) 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