Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated ring-mock version to 0.1.1

  • Loading branch information...
commit 8c7453562366dc33dcfeda80771cf03d140209be 1 parent 1e4ffb6
James Reeves weavejester authored
Showing with 2 additions and 3 deletions.
  1. +1 −1  project.clj
  2. +1 −2  test/clout/test/core.clj
2  project.clj
View
@@ -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"]])
3  test/clout/test/core.clj
View
@@ -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)))))
Please sign in to comment.
Something went wrong with that request. Please try again.