X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f12f617fb736ddd48e4f2b9f57a6983ff8fe1ed3..e24a892b920fd8cddf091a3c15acba1ab27f510d:/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