diff options
author | George Claghorn <george@basecamp.com> | 2018-02-26 13:56:54 -0500 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2018-02-26 13:56:54 -0500 |
commit | 87de79e9cc25fe6ac02095a1d0c014941a39ede8 (patch) | |
tree | b28256065af387c619b791f24001c34101b4c776 /activestorage/test/controllers | |
parent | 19672421ac11c6432477246aca5414933b8d94cd (diff) | |
download | rails-87de79e9cc25fe6ac02095a1d0c014941a39ede8.tar.gz rails-87de79e9cc25fe6ac02095a1d0c014941a39ede8.tar.bz2 rails-87de79e9cc25fe6ac02095a1d0c014941a39ede8.zip |
Update test to reflect direct upload header changes
Diffstat (limited to 'activestorage/test/controllers')
-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 dfffb6bb9c..5d57e37688 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" => "text/plain", "Content-MD5" => checksum }, details["direct_upload"]["headers"]) + assert_equal({ "Content-Type" => "", "Content-MD5" => checksum }, details["direct_upload"]["headers"]) end end end |