aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorGeorge Claghorn <george.claghorn@gmail.com>2017-08-20 18:58:12 -0400
committerGeorge Claghorn <george.claghorn@gmail.com>2017-08-20 18:58:19 -0400
commitc7993299d98512a40dcee68a8dec249647ef9f5a (patch)
treef2ca17a22f554c1f1d8c24a13da3a3079d8e84fa /activestorage
parent332049d1161b9336ff308a06adf318df20c07d4e (diff)
downloadrails-c7993299d98512a40dcee68a8dec249647ef9f5a.tar.gz
rails-c7993299d98512a40dcee68a8dec249647ef9f5a.tar.bz2
rails-c7993299d98512a40dcee68a8dec249647ef9f5a.zip
Update regex
Diffstat (limited to 'activestorage')
-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 bbd8d0a996..4729bdfbc5 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=\"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