diff --git a/test/cljc/reitit/swagger_test.clj b/test/cljc/reitit/swagger_test.clj index e531c6e6..ac0cd90f 100644 --- a/test/cljc/reitit/swagger_test.clj +++ b/test/cljc/reitit/swagger_test.clj @@ -188,10 +188,12 @@ (ring/router [["/ping" {:options (constantly "options")}] + ["/pong" + (constantly "options")] ["/swagger.json" {:get {:no-doc true :handler (swagger/create-swagger-handler)}}]]))] - (is (= ["/ping"] (spec-paths app "/swagger.json"))) + (is (= ["/ping" "/pong"] (spec-paths app "/swagger.json"))) (is (= #{::swagger/default} (-> {:request-method :get :uri "/swagger.json"} (app) :body :x-id)))))