X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5bcba288077488791daa43a15d5fd5fb0c6e653c..dc7d01f4d4031962ffd5734ca0c64146a7217e4a:/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