method

generate_response_message

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: ActionDispatch::Assertions::ResponseAssertions
generate_response_message(expected, actual = @response.response_code) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/assertions/response.rb, line 79
        def generate_response_message(expected, actual = @response.response_code)
          "Expected response to be a <#{code_with_name(expected)}>,"           " but was a <#{code_with_name(actual)}>"
          .concat location_if_redirected
        end
Register or log in to add new notes.