class
ActionDispatch::AssertionResponse
rails latest stable
- Superclass: Object
This is a class that abstracts away an asserted response. It purposely does not inherit from Response because it doesn’t need it. That means it does not have headers or a body.
Constants
GENERIC_RESPONSE_CODES = { # :nodoc:\nsuccess: "2XX",\nmissing: "404",\nredirect: "3XX",\nerror: "5XX"\n}
Attributes
| [R] | code |
| [R] | name |
Files
- actionpack/lib/action_dispatch/testing/assertion_response.rb