diff --git a/test/monger/test/collection.clj b/test/monger/test/collection.clj index bca4fee..128e505 100644 --- a/test/monger/test/collection.clj +++ b/test/monger/test/collection.clj @@ -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))))) ;;