3 class ErrorsControllerTest < ActionDispatch::IntegrationTest
 
   6       { :path => "/400", :method => :get },
 
   7       { :controller => "errors", :action => "bad_request" }
 
  10       { :path => "/403", :method => :get },
 
  11       { :controller => "errors", :action => "forbidden" }
 
  14       { :path => "/404", :method => :get },
 
  15       { :controller => "errors", :action => "not_found" }
 
  18       { :path => "/500", :method => :get },
 
  19       { :controller => "errors", :action => "internal_server_error" }
 
  25     assert_response :bad_request
 
  30     assert_response :forbidden
 
  35     assert_response :not_found
 
  38   def test_internal_server_error
 
  40     assert_response :internal_server_error