Permalink
Browse files

can't use :batch if we're gonna read later

  • Loading branch information...
1 parent 54f4cd5 commit daa2f572f9e7d6d2bd33b7084f619e6ca9d8ce19 @cemerick cemerick committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_clutch.clj
View
@@ -108,7 +108,7 @@
:let [id (str "a" (char x)) ; doc ids can't start with _, so prefix everything
id-desc (str x " " id)]]
(try
- (is (= id (:_id (put-document {} :id id :request-params {:batch "ok"}))) id-desc)
+ (is (= id (:_id (put-document {:_id id}))) id-desc)
(let [doc (get-document id)]
(is (= {} (dissoc-meta doc)))
(delete-document doc)

0 comments on commit daa2f57

Please sign in to comment.