Fix: rename a test to make it run

The renamed test is redeclared later in the same namespace
causing the original one to not be run with `lein test`.
This commit is contained in:
tjalkane 2020-06-26 00:16:06 +03:00
parent 9ca88d7165
commit 87d7e2e3c9

View file

@ -171,7 +171,7 @@
(testing "handler rejects"
(is (= -406 (:status (app {:request-method :get, :uri "/pong"}))))))))))
(deftest default-options-handler-test
(deftest deprecated-default-options-handler-test
(testing "Assertion fails when using deprecated options-handler"
(is (thrown? ExceptionInfo (ring/router [] {::ring/default-options-handler (fn [_])})))))