mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update test to reflect direct upload header changes
This commit is contained in:
parent
19672421ac
commit
87de79e9cc
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ if SERVICE_CONFIGURATIONS[:gcs]
|
||||||
assert_equal checksum, details["checksum"]
|
assert_equal checksum, details["checksum"]
|
||||||
assert_equal "text/plain", details["content_type"]
|
assert_equal "text/plain", details["content_type"]
|
||||||
assert_match %r{storage\.googleapis\.com/#{@config[:bucket]}}, details["direct_upload"]["url"]
|
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
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue