X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9e759dc030b67a5a5d9261d59d6716618a64c15d..afa3a3728d4b7b4b8b560cbf3ad248388d474467:/test/integration/cors_test.rb?ds=sidebyside diff --git a/test/integration/cors_test.rb b/test/integration/cors_test.rb index 82e834646..c35f73d34 100644 --- a/test/integration/cors_test.rb +++ b/test/integration/cors_test.rb @@ -9,7 +9,7 @@ class CORSTest < ActionDispatch::IntegrationTest assert_response :success assert_equal "*", response.headers["Access-Control-Allow-Origin"] - assert_nil response.content_type + assert_nil response.media_type assert_equal "", response.body end @@ -21,7 +21,7 @@ class CORSTest < ActionDispatch::IntegrationTest assert_response :success assert_nil response.headers["Access-Control-Allow-Origin"] - assert_nil response.content_type + assert_nil response.media_type assert_equal "", response.body end end