A set of utilities for testing a Noir project
A set of utilities for testing a Noir project
(has-body resp cont)
Asserts that the response has the given body
Asserts that the response has the given body
(has-content-type resp ct)
Asserts that the response has the given content type
Asserts that the response has the given content type
(has-status resp stat)
Asserts that the response has the given status
Asserts that the response has the given status
(send-request route & [params])
Send a request to the Noir handler. Unlike with-noir, this will run the request within the context of all middleware.
Send a request to the Noir handler. Unlike with-noir, this will run the request within the context of all middleware.
(with-noir & body)
Executes the body within the context of Noir's bindings
Executes the body within the context of Noir's bindings
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close