module

ActionDispatch::Assertions::ResponseAssertions

v7.1.3.4 - Show latest stable

A small suite of assertions that test responses from Rails applications.

Constants

RESPONSE_PREDICATES = { # :nodoc:\nsuccess: :successful?,\nmissing: :not_found?,\nredirect: :redirection?,\nerror: :server_error?,\n}

Files

  • actionpack/lib/action_dispatch/testing/assertions/response.rb