This commit is contained in:
Tommi Reiman 2024-06-29 16:22:31 +03:00
parent eb4c231c23
commit 77f0798c06

View file

@ -765,12 +765,12 @@
(deftest path-update-fix-686 (deftest path-update-fix-686
(testing "records are retained" (testing "records are retained"
(is (= true (-> ["/api/foo" {:get {:handler (constantly {:status 200}) (is (true? (-> ["/api/foo" {:get {:handler (constantly {:status 200})
:test (FooTest. 1 2)}}] :test (FooTest. 1 2)}}]
(ring/router) (ring/router)
(r/compiled-routes) (r/compiled-routes)
(first) (first)
(second) (second)
:get :get
:test :test
(record?)))))) (record?))))))