method

location_if_redirected

location_if_redirected()
private

No documentation available.

# File actionpack/lib/action_dispatch/testing/assertions/response.rb, line 96
        def location_if_redirected
          return "" unless @response.redirection? && @response.location.present?
          location = normalize_argument_to_redirection(@response.location)
          " redirect to <#{location}>"
        end