Phoenix.ConnTest.text_response/2

Parsed documentation:
View on GitHub
Asserts the given status code, that we have an text response and
returns the response body if one was set or sent.

## Examples

    assert text_response(conn, 200) =~ "hello"
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.