Skip to content

Commit

Permalink
Correct test names
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Sep 6, 2012
1 parent d5226cf commit bef4258
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/clojurewerkz/support/json_test.clj
Expand Up @@ -6,13 +6,13 @@
[clj-time.core :as t]))


(deftest serialization-of-joda-datetime-to-json-with-clojure-data-json
(deftest serialization-of-joda-datetime-to-json
(let [dt (t/date-time 2011 10 13 23 55 0)]
(is (= "\"2011-10-13T23:55:00.000Z\""
(json/json-str dt)
(json2/encode dt)))))

(deftest serialization-of-java-util-date-to-json-with-clojure-data-json
(deftest serialization-of-java-util-date-to-json
(let [d (.toDate (t/date-time 2011 10 13 23 55 0))]
(is (= "\"2011-10-13T23:55:00.000Z\""
(json/json-str d)))
Expand Down

0 comments on commit bef4258

Please sign in to comment.