Browse files

Updated ring-mock version to 0.1.1

  • Loading branch information...
1 parent 1e4ffb6 commit 8c7453562366dc33dcfeda80771cf03d140209be @weavejester weavejester committed Dec 18, 2010
Showing with 2 additions and 3 deletions.
  1. +1 −1 project.clj
  2. +1 −2 test/clout/test/core.clj
View
2 project.clj
@@ -2,4 +2,4 @@
:description "A HTTP route matching library"
:url "http://github.com/weavejester/clout"
:dependencies [[org.clojure/clojure "1.2.0"]]
- :dev-dependencies [[ring-mock "0.1.0"]])
+ :dev-dependencies [[ring-mock "0.1.1"]])
View
3 test/clout/test/core.clj
@@ -72,8 +72,7 @@
:uri "/"})))
(deftest url-port-paths
- (let [req (-> (request :get "http://localhost:8080/")
- (header :host "localhost:8080"))]
+ (let [req (request :get "http://localhost:8080/")]
(is (route-matches "http://localhost:8080/" req))
(is (not (route-matches "http://localhost:7070/" req)))))

0 comments on commit 8c74535

Please sign in to comment.