Skip to content

Commit 1cb2b0f

Browse files
committed
Test that request-time values work ok
1 parent cb3b6de commit 1cb2b0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/compojure/api/routes_test.clj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@
6161
status = 200
6262
body => {:message "pong - v1"})
6363

64+
(let [[status body] (get* app "/api/v2/ping")]
65+
status = 200
66+
body => {:message "pong - v2"})
67+
6468
(let [[status body] (get* app "/api/v3/more")]
6569
status => 200
6670
body => {:message "v3"}))

0 commit comments

Comments
 (0)