X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/afef51be31f166fda47481e558881de09e97a983..49d18afe093301bbb48892e05b2c9c732e038abe:/services/api/test/integration/cross_origin_test.rb diff --git a/services/api/test/integration/cross_origin_test.rb b/services/api/test/integration/cross_origin_test.rb index ebe7ce7a67..28c1b81dab 100644 --- a/services/api/test/integration/cross_origin_test.rb +++ b/services/api/test/integration/cross_origin_test.rb @@ -70,7 +70,7 @@ class CrossOriginTest < ActionDispatch::IntegrationTest def assert_no_cors_headers response.headers.keys.each do |h| - assert_no_match /^Access-Control-/i, h + assert_no_match(/^Access-Control-/i, h) end end end