This method is deprecated or moved on the latest stable version.
The last existing version (v3.0.9) is shown here.
binary_content()
public
Returns binary content (downloadable file), converted to a String
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 103
def binary_content
ActiveSupport::Deprecation.warn("response.binary_content has been deprecated. Use response.body instead", caller)
body
end