diff options
author | George Claghorn <george@basecamp.com> | 2018-03-06 13:09:22 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-03-06 13:09:22 -0500 |
commit | 060ed201e444785135ce9a4baea069079257295e (patch) | |
tree | e460104aa3be1a7d5cbf341743d7cddc2c16f256 | |
parent | f9a5839083e697f0d5aad6d9304cd5f26e2a7a11 (diff) | |
download | rails-060ed201e444785135ce9a4baea069079257295e.tar.gz rails-060ed201e444785135ce9a4baea069079257295e.tar.bz2 rails-060ed201e444785135ce9a4baea069079257295e.zip |
Update test to reflect GCS direct upload header change
-rw-r--r-- | activestorage/test/controllers/direct_uploads_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/test/controllers/direct_uploads_controller_test.rb b/activestorage/test/controllers/direct_uploads_controller_test.rb index 5d57e37688..88d85e12ab 100644 --- a/activestorage/test/controllers/direct_uploads_controller_test.rb +++ b/activestorage/test/controllers/direct_uploads_controller_test.rb @@ -62,7 +62,7 @@ if SERVICE_CONFIGURATIONS[:gcs] assert_equal checksum, details["checksum"] assert_equal "text/plain", details["content_type"] assert_match %r{storage\.googleapis\.com/#{@config[:bucket]}}, details["direct_upload"]["url"] - assert_equal({ "Content-Type" => "", "Content-MD5" => checksum }, details["direct_upload"]["headers"]) + assert_equal({ "Content-MD5" => checksum }, details["direct_upload"]["headers"]) end end end |