Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information
ibdknox committed Mar 20, 2012
1 parent e340c56 commit 8a42f3d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions test/noir/test/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
(:use [clojure.test])
(:require [noir.util.crypt :as crypt]
[noir.server :as server]
[noir.util.middleware :as middleware]
[noir.session :as session]
[noir.request :as request]
[noir.options :as options]
Expand Down Expand Up @@ -252,12 +251,6 @@
(deftest wrap-utf
(-> (send-request "/utf")
(has-content-type "text/html; charset=utf-8")
(has-body "ąčęė"))
;;Technically this middleware is unnecessary now due to some changes in ring.
;;but this provides a nice test for custom middleware.
(server/add-middleware middleware/wrap-utf-8)
(-> (send-request "/utf")
(has-content-type "text/html; charset=utf-8; charset=utf-8")
(has-body "ąčęė")))

(deftest valid-emails
Expand Down

0 comments on commit 8a42f3d

Please sign in to comment.