module ActionDispatch::TestResponse::DeprecatedHelpers

def binary_content

Returns binary content (downloadable file), converted to a String
def binary_content
  ActiveSupport::Deprecation.warn("response.binary_content has been deprecated. Use response.body instead", caller)
  body
end