Methods
T
Instance Public methods
test_block_rescue_handler()
# File actionpack/test/controller/rescue_test.rb, line 276
def test_block_rescue_handler
  get :bad_gateway
  assert_response 502
end
test_block_rescue_handler_as_string()
# File actionpack/test/controller/rescue_test.rb, line 280
def test_block_rescue_handler_as_string
  get :bad_gateway_raise_as_string
  assert_response 502
end
test_block_rescue_handler_with_argument()
# File actionpack/test/controller/rescue_test.rb, line 285
def test_block_rescue_handler_with_argument
  get :resource_unavailable
  assert_equal "RescueController::ResourceUnavailable", @response.body
end
test_block_rescue_handler_with_argument_as_string()
# File actionpack/test/controller/rescue_test.rb, line 289
def test_block_rescue_handler_with_argument_as_string
  get :resource_unavailable_raise_as_string
  assert_equal "RescueController::ResourceUnavailableToRescueAsString", @response.body
end
test_proc_rescue_handle_with_argument()
# File actionpack/test/controller/rescue_test.rb, line 267
def test_proc_rescue_handle_with_argument
  get :invalid_request
  assert_equal "RescueController::InvalidRequest", @response.body
end
test_proc_rescue_handle_with_argument_as_string()
# File actionpack/test/controller/rescue_test.rb, line 271
def test_proc_rescue_handle_with_argument_as_string
  get :invalid_request_raise_as_string
  assert_equal "RescueController::InvalidRequestToRescueAsString", @response.body
end
test_proc_rescue_handler()
# File actionpack/test/controller/rescue_test.rb, line 258
def test_proc_rescue_handler
  get :not_allowed
  assert_response :forbidden
end
test_proc_rescue_handler_as_string()
# File actionpack/test/controller/rescue_test.rb, line 262
def test_proc_rescue_handler_as_string
  get :not_allowed_raise_as_string
  assert_response :forbidden
end
test_rescue_handler()
# File actionpack/test/controller/rescue_test.rb, line 238
def test_rescue_handler
  get :not_authorized
  assert_response :forbidden
end
test_rescue_handler_string()
# File actionpack/test/controller/rescue_test.rb, line 242
def test_rescue_handler_string
  get :not_authorized_raise_as_string
  assert_response :forbidden
end
test_rescue_handler_with_argument()
# File actionpack/test/controller/rescue_test.rb, line 247
def test_rescue_handler_with_argument
  assert_called_with @controller, :show_errors, [Exception] do
    get :record_invalid
  end
end
test_rescue_handler_with_argument_as_string()
# File actionpack/test/controller/rescue_test.rb, line 252
def test_rescue_handler_with_argument_as_string
  assert_called_with @controller, :show_errors, [Exception] do
    get :record_invalid_raise_as_string
  end
end