This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.
client_error?()
Was there a client client?
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 132 def client_error? (400..499).include?(response_code) end