X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..b6869e2a43084da6fe39d74a6d68b04d703c13e5:/test/controllers/errors_controller_test.rb?ds=inline diff --git a/test/controllers/errors_controller_test.rb b/test/controllers/errors_controller_test.rb index 01b07efc8..9f8ccee56 100644 --- a/test/controllers/errors_controller_test.rb +++ b/test/controllers/errors_controller_test.rb @@ -1,6 +1,6 @@ require "test_helper" -class ErrorsControllerTest < ActionController::TestCase +class ErrorsControllerTest < ActionDispatch::IntegrationTest def test_routes assert_routing( { :path => "/403", :method => :get }, @@ -17,17 +17,17 @@ class ErrorsControllerTest < ActionController::TestCase end def test_forbidden - get :forbidden + get "/403" assert_response :forbidden end def test_not_found - get :not_found + get "/404" assert_response :not_found end def test_internal_server_error - get :internal_server_error + get "/500" assert_response :internal_server_error end end