API for noir.util.test - Noir ()


Usage:
(ns your-namespace
  (:require noir.util.test))

Overview

A set of utilities for testing a Noir project

Public Variables and Functions



has-body

function
Usage: (has-body resp cont)
Asserts that the response has the given body


has-content-type

function
Usage: (has-content-type resp ct)
Asserts that the response has the given content type


has-status

function
Usage: (has-status resp stat)
Asserts that the response has the given status


send-request

function
Usage: (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.


with-noir

macro
Usage: (with-noir & body)
Executes the body within the context of Noir's bindings
Logo & site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.