mirror of
https://github.com/metosin/reitit.git
synced 2026-02-11 05:45:17 +00:00
.
This commit is contained in:
parent
eb4c231c23
commit
77f0798c06
1 changed files with 9 additions and 9 deletions
|
|
@ -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?))))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue