error?()
Was there a server-side error?
# File actionpack/lib/action_dispatch/testing/test_response.rb, line 126 def error? (500..599).include?(response_code) end