From 1cbf3ce5f6bbb72b9c457e78ae406a557630bebe Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Wed, 27 Apr 2022 13:21:14 -0400 Subject: [PATCH] 18794: Fix routing test. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- services/api/test/integration/errors_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api/test/integration/errors_test.rb b/services/api/test/integration/errors_test.rb index a5359278e5..8e9929117b 100644 --- a/services/api/test/integration/errors_test.rb +++ b/services/api/test/integration/errors_test.rb @@ -24,7 +24,7 @@ class ErrorsTest < ActionDispatch::IntegrationTest # Generally, new routes should appear under /arvados/v1/. If # they appear elsewhere, that might have been caused by default # rails generator behavior that we don't want. - assert_match(/^\/(|\*a|arvados\/v1\/.*|auth\/.*|login|logout|database\/reset|discovery\/.*|static\/.*|sys\/trash_sweep|themes\/.*|assets|_health|metrics\/.*)(\(\.:format\))?$/, + assert_match(/^\/(|\*a|arvados\/v1\/.*|auth\/.*|login|logout|database\/reset|discovery\/.*|static\/.*|sys\/trash_sweep|themes\/.*|assets|_health\/.*|metrics)(\(\.:format\))?$/, route.path.spec.to_s, "Unexpected new route: #{route.path.spec}") end -- 2.30.2