aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/service
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-30 05:48:23 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-09-30 05:48:23 +0900
commit325c06fbc499aa4da1ce50d9b85dbf5c6ed3321e (patch)
treee30f34fbc1a6a877c000f12253b08180d3f5f661 /activestorage/test/service
parent83b7cb3a4711794ca1716d1b593643d2309f0019 (diff)
downloadrails-325c06fbc499aa4da1ce50d9b85dbf5c6ed3321e.tar.gz
rails-325c06fbc499aa4da1ce50d9b85dbf5c6ed3321e.tar.bz2
rails-325c06fbc499aa4da1ce50d9b85dbf5c6ed3321e.zip
Fix `test "signed URL generation"` failure
https://travis-ci.org/rails/rails/jobs/281044755#L5582-L5586
Diffstat (limited to 'activestorage/test/service')
-rw-r--r--activestorage/test/service/azure_storage_service_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/service/azure_storage_service_test.rb b/activestorage/test/service/azure_storage_service_test.rb
index 4b7e70b8b1..be31bbe858 100644
--- a/activestorage/test/service/azure_storage_service_test.rb
+++ b/activestorage/test/service/azure_storage_service_test.rb
@@ -13,7 +13,7 @@ if SERVICE_CONFIGURATIONS[:azure]
url = @service.url(FIXTURE_KEY, expires_in: 5.minutes,
disposition: :inline, filename: ActiveStorage::Filename.new("avatar.png"), content_type: "image/png")
- assert_match(/(\S+)&rscd=inline%3B\+filename%3D%22avatar.png%22&rsct=image%2Fpng/, url)
+ assert_match(/(\S+)&rscd=inline%3B\+filename%3D%22avatar\.png%22%3B\+filename\*%3DUTF-8%27%27avatar\.png&rsct=image%2Fpng/, url)
assert_match SERVICE_CONFIGURATIONS[:azure][:container], url
end
end