X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7b5729d984a9c516920270250f050bf72f1896d1..3c87946740b83f612561f998f7d83586593be830:/services/api/test/functional/database_controller_test.rb diff --git a/services/api/test/functional/database_controller_test.rb b/services/api/test/functional/database_controller_test.rb index 4bda0d0f11..ef1d0c6d05 100644 --- a/services/api/test/functional/database_controller_test.rb +++ b/services/api/test/functional/database_controller_test.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require 'test_helper' class DatabaseControllerTest < ActionController::TestCase @@ -15,7 +19,7 @@ class DatabaseControllerTest < ActionController::TestCase begin Rails.env = 'production' Rails.application.reload_routes! - assert_raises ActionController::RoutingError do + assert_raises ActionController::UrlGenerationError do post :reset end ensure