Permalink
Browse files

Fixed test that was failing as a result of commit 40dcbe2 - the commi…

…t to

fixe github issue #5.
  • Loading branch information...
1 parent 69b75f5 commit 6d845e17b8994db2dc34eb7c2378d93c9b68638c @tmciver committed Feb 7, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/hottop/test/proc.clj
@@ -73,7 +73,8 @@
response1 ((process-get (constantly :handler1)) request1 resource)
response2 ((process-get (constantly :handler2)) request2 resource)
response3 ((process-get (constantly :handler3)) request3 resource)]
- (is (= response1 (ring/response "Hello!")))
+ (is (= response1 (-> (ring/response "Hello!")
+ (ring/header "content-type" "text/html"))))
(is (= response2 :handler2))
(is (= response3 (response/code 406)))))

0 comments on commit 6d845e1

Please sign in to comment.