creating existing collection no longer throws
This commit is contained in:
parent
57f2115e7b
commit
28e054aa3f
1 changed files with 1 additions and 6 deletions
|
|
@ -349,12 +349,7 @@
|
||||||
(testing "not existing"
|
(testing "not existing"
|
||||||
(let [db (new-db @client)
|
(let [db (new-db @client)
|
||||||
_ (mc/create db "my-coll")]
|
_ (mc/create db "my-coll")]
|
||||||
(is (true? (coll-exists? db "my-coll")))))
|
(is (true? (coll-exists? db "my-coll"))))))
|
||||||
|
|
||||||
(testing "existing"
|
|
||||||
(let [db (new-db @client)
|
|
||||||
_ (mc/create db "my-coll")]
|
|
||||||
(is (thrown? Exception (mc/create db "my-coll"))))))
|
|
||||||
|
|
||||||
(deftest ^:integration test-rename
|
(deftest ^:integration test-rename
|
||||||
(testing "not existing"
|
(testing "not existing"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue