Ambition.Testing.TestResponse.assert_status_is – ambition Reference Manual
Packages
ambition
Ambition
Testing
TestResponse
request
response
result_content
state
TestResponse
assert_content_is
assert_content_isnt
assert_content_like
assert_content_type_is
assert_content_type_isnt
assert_content_type_like
assert_content_type_unlike
assert_content_unlike
assert_header_is
assert_header_isnt
assert_status_is
assert_status_isnt
assert_status_is
Description:
public
void
assert_status_is
(
int
status)
Assert HTTP response status code matches value.
Parameters:
status
HTTP status code