mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
metadata
is not passed to service
Ref: 604fac6d71/activestorage/app/models/active_storage/blob.rb (L256-L264)
This fixes broken `GCSServiceTest`.
https://travis-ci.org/rails/rails/jobs/461868394#L6624-L6626
Follow up to #34576.
This commit is contained in:
parent
604fac6d71
commit
6ca2f2acb2
1 changed files with 1 additions and 2 deletions
|
@ -55,8 +55,7 @@ module ActiveStorage::Service::SharedServiceTests
|
|||
StringIO.new(data),
|
||||
checksum: Digest::MD5.base64digest(data),
|
||||
filename: "racecar.jpg",
|
||||
content_type: "image/jpg",
|
||||
metadata: { metadata: true }
|
||||
content_type: "image/jpg"
|
||||
)
|
||||
|
||||
assert_equal data, @service.download(key)
|
||||
|
|
Loading…
Reference in a new issue