Updated Ring version to 1.2.0

This commit is contained in:
James Reeves 2013-08-30 11:16:31 +01:00
parent 9787c3924b
commit e157f58a56
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.2.1"]
[org.clojure/core.incubator "0.1.0"]
[ring "1.1.8"]
[ring "1.2.0"]
[ring-refresh "0.1.2"]]
:plugins [[codox "0.6.1"]]
:profiles {:dev {:dependencies [[clj-http "0.4.1"]]}})

View file

@ -47,4 +47,5 @@
(testing "default middleware"
(with-server (test-server {:handler exception-handler})
(let [body (:body (http-get 3000 ""))]
(is (re-find #"java\.lang\.Exception: testing" body))))))
(is (re-find #"java\.lang\.Exception" body))
(is (re-find #"testing" body))))))