method

response_body_if_short

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActionDispatch::Assertions::ResponseAssertions
response_body_if_short() 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 84
        def response_body_if_short
          return "" if @response.body.size > 500
          "\nResponse body: #{@response.body}"
        end
Register or log in to add new notes.