Updated Ring version to 1.2.0
This commit is contained in:
parent
9787c3924b
commit
e157f58a56
|
@ -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"]]}})
|
||||
|
|
|
@ -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))))))
|
||||
|
|
Reference in a new issue