summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/abra/core.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/abra/core.clj b/src/abra/core.clj
index e6bc3fc..19d85cd 100644
--- a/src/abra/core.clj
+++ b/src/abra/core.clj
@@ -116,7 +116,7 @@
"Test helper: run body using `f` as a url lookup in
`core.abra/url-for`."
[f & body]
- `(binding [*lookup-route* (fn [x#] (apply ~f x#))
+ `(binding [*lookup-route* (fn [x#] {:type :get, :uri (apply ~f x#)})
*root* ""]
~@body))