From dde4a594956e70508801b94b3a9aecb14bfe3eb6 Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Wed, 27 Jun 2012 19:10:20 +0400 Subject: [PATCH] Correct the test now that we don't have :date in the serialized value --- test/monger/test/ring/clojure_session_store_test.clj | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/monger/test/ring/clojure_session_store_test.clj b/test/monger/test/ring/clojure_session_store_test.clj index 1eb0806..ed90aef 100644 --- a/test/monger/test/ring/clojure_session_store_test.clj +++ b/test/monger/test/ring/clojure_session_store_test.clj @@ -30,8 +30,8 @@ sk (write-session store nil {:library "Monger"}) m (read-session store sk)] (is sk) - (is (and (:_id m) (:date m))) - (is (= (dissoc m :_id :date) + (is (and (:_id m))) + (is (= (dissoc m :_id) {:library "Monger"})))) @@ -41,9 +41,9 @@ sk2 (write-session store sk1 {:library "Ring"}) m (read-session store sk2)] (is (and sk1 sk2)) - (is (and (:_id m) (:date m))) + (is (and (:_id m))) (is (= sk1 sk2)) - (is (= (dissoc m :_id :date) + (is (= (dissoc m :_id) {:library "Ring"}))))