diff --git a/project.clj b/project.clj index f0608a8..c855393 100644 --- a/project.clj +++ b/project.clj @@ -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"]]}}) diff --git a/test/ring/server/test/standalone.clj b/test/ring/server/test/standalone.clj index b20ad45..8a07502 100644 --- a/test/ring/server/test/standalone.clj +++ b/test/ring/server/test/standalone.clj @@ -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))))))