From 1bab89b1a00bba27913ab335a6ca5ac09b3c5014 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sun, 24 Jun 2018 19:28:50 +0300 Subject: [PATCH] more tests --- test/cljc/reitit/ring_spec_test.cljc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/cljc/reitit/ring_spec_test.cljc b/test/cljc/reitit/ring_spec_test.cljc index 2c930728..73c41c5c 100644 --- a/test/cljc/reitit/ring_spec_test.cljc +++ b/test/cljc/reitit/ring_spec_test.cljc @@ -89,7 +89,9 @@ :form {:c string?} :header {:d string?} :path {:e string?}} - :responses {200 {:body {:total pos-int?}}} + :responses {200 {:body {:total pos-int?}} + 400 {:description "fail"} + 500 {}} :handler identity}}]] {:data {:middleware [rrc/coerce-exceptions-middleware rrc/coerce-request-middleware