Fix tests

This commit is contained in:
Tommi Reiman 2018-10-28 20:19:40 +02:00
parent 0095aece21
commit 45eab09d7a
2 changed files with 5 additions and 4 deletions

View file

@ -500,7 +500,6 @@
((http/ring-handler
(http/router [])
(fn [{:keys [::r/router]}]
(println "here...")
(is router))
{:executor sieppari/executor})
{} (promise) (promise))))
{} ::respond ::raise)))

View file

@ -493,9 +493,11 @@
((ring/ring-handler
(ring/router [])
(fn [{:keys [::r/router]}]
(is router))) {}))
(is router)))
{}))
(testing "3-arity"
((ring/ring-handler
(ring/router [])
(fn [{:keys [::r/router]} _ _]
(is router))) {} (promise) (promise))))
(is router)))
{} ::respond ::raise)))