View Source OrbitTest (Orbit v0.2.0)

Test helpers.

Link to this section Summary

Functions

Returns the response body as a binary.

Returns a new Orbit.Request struct for testing.

Returns the response meta field.

Performs a request against @router and returns the processed request.

Performs a request against a router and returns the processed request.

Returns the response status code as an atom.

Link to this section Functions

Returns the response body as a binary.

Returns nil if the status was not a success.

Returns a new Orbit.Request struct for testing.

The path should begin with "/".

Returns the response meta field.

Performs a request against @router and returns the processed request.

Performs a request against a router and returns the processed request.

Returns the response status code as an atom.