Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHandlerOK ¶
func AssertHandlerOK(rc *routing.Context, h routing.Handler, c *check.C) *httptest.ResponseRecorder
AssertHandlerOK verifies if a HTTP request is successfull.
func NewPostJSON ¶
func NewPostJSON(body []byte, c *check.C) *routing.Context
NewPostJSON creates a JSON post request
func NewRoutingGetCtx ¶
func NewRoutingGetCtx(url string) *routing.Context
NewRoutingGetCtx creates a new GET request
func NewRoutingPostCtx ¶
NewRoutingPostCtx returns new POST request with parameters encoded using url-encoding
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.