mirror of
https://github.com/metosin/reitit.git
synced 2025-12-18 17:01:11 +00:00
.
This commit is contained in:
parent
77f0798c06
commit
129de37d3e
1 changed files with 8 additions and 9 deletions
|
|
@ -765,12 +765,11 @@
|
||||||
|
|
||||||
(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 (record? (-> ["/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?))))))
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue