提交 c7993299 编写于 作者: G George Claghorn

Update regex

上级 332049d1
......@@ -13,7 +13,7 @@ class ActiveStorage::Service::AzureStorageServiceTest < ActiveSupport::TestCase
url = @service.url(FIXTURE_KEY, expires_in: 5.minutes,
disposition: "inline; filename=\"avatar.png\"", filename: "avatar.png", content_type: "image/png")
assert_match(/(\S+)&rsct=image%2Fpng&rscd=inline%3B\+filename%3D%22avatar.png/, url)
assert_match(/(\S+)&rscd=inline%3B\+filename%3D%22avatar.png%22&rsct=image%2Fpng/, url)
assert_match SERVICE_CONFIGURATIONS[:azure][:container], url
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册