struct Athena::Routing::Spec::HTTPBrowser

Overview

Simulates a browser and makes a requests to ART::RouteHandler.

Defined in:

spec.cr

Instance Method Summary

Instance methods inherited from struct Athena::Routing::Spec::AbstractBrowser

initialize initialize, request(method : String, path : String, headers : HTTP::Headers, body : String | Bytes | IO | Nil) : HTTP::Server::Response request

Constructor methods inherited from struct Athena::Routing::Spec::AbstractBrowser

new new

Instance Method Detail

def container : ADI::Spec::MockableServiceContainer #

Returns a reference to an ADI::Spec::MockableServiceContainer to allow configuring the container before a test.


[View source]