Liking cljdoc? Tell your friends :D

noir.util.test

A set of utilities for testing a Noir project

A set of utilities for testing a Noir project
raw docstring

content-typesclj

source

has-bodyclj

(has-body resp cont)

Asserts that the response has the given body

Asserts that the response has the given body
sourceraw docstring

has-content-typeclj

(has-content-type resp ct)

Asserts that the response has the given content type

Asserts that the response has the given content type
sourceraw docstring

has-statusclj

(has-status resp stat)

Asserts that the response has the given status

Asserts that the response has the given status
sourceraw docstring

send-requestclj

(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.
sourceraw docstring

with-noircljmacro

(with-noir & body)

Executes the body within the context of Noir's bindings

Executes the body within the context of Noir's bindings
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close