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