Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated ring-mock version to 0.1.1

  • Loading branch information...
commit 8c7453562366dc33dcfeda80771cf03d140209be 1 parent 1e4ffb6
James Reeves weavejester authored

Showing 2 changed files with 2 additions and 3 deletions. Show diff stats Hide diff stats

  1. +1 1  project.clj
  2. +1 2  test/clout/test/core.clj
2  project.clj
@@ -2,4 +2,4 @@
2 2 :description "A HTTP route matching library"
3 3 :url "http://github.com/weavejester/clout"
4 4 :dependencies [[org.clojure/clojure "1.2.0"]]
5   - :dev-dependencies [[ring-mock "0.1.0"]])
  5 + :dev-dependencies [[ring-mock "0.1.1"]])
3  test/clout/test/core.clj
@@ -72,8 +72,7 @@
72 72 :uri "/"})))
73 73
74 74 (deftest url-port-paths
75   - (let [req (-> (request :get "http://localhost:8080/")
76   - (header :host "localhost:8080"))]
  75 + (let [req (request :get "http://localhost:8080/")]
77 76 (is (route-matches "http://localhost:8080/" req))
78 77 (is (not (route-matches "http://localhost:7070/" req)))))
79 78

0 comments on commit 8c74535

Please sign in to comment.
Something went wrong with that request. Please try again.