Improve this test
This commit is contained in:
parent
69d7abb747
commit
59da9db80d
1 changed files with 3 additions and 3 deletions
|
|
@ -130,9 +130,9 @@
|
|||
;;
|
||||
|
||||
(deftest find-full-document-when-collection-is-empty
|
||||
(let [collection "docs"]
|
||||
(def cursor (monger.collection/find collection))
|
||||
(is (instance? DBCursor cursor))))
|
||||
(let [collection "docs"
|
||||
cursor (monger.collection/find collection)]
|
||||
(is (empty? (iterator-seq cursor)))))
|
||||
|
||||
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue