instance method validate_request!

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.2.22.5 Private

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

validate_request!()

No documentation comment.

Source
# File actionpack/lib/action_dispatch/testing/assertions/response.rb, line 100
        def validate_request!
          unless @request.is_a?(ActionDispatch::Request)
            raise ArgumentError, "@request must be an ActionDispatch::Request"
          end
        end

Defined in actionpack/lib/action_dispatch/testing/assertions/response.rb line 100 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionDispatch::Assertions::ResponseAssertions

Type at least 2 characters to search.

↑↓ navigate · open · esc close