fix spec changing fake image file extension
This commit is contained in:
parent
96238da249
commit
fce2c03015
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ RSpec.describe Attachment::MultipleComponent, type: :component do
|
|||
attached_file.attach(
|
||||
io: StringIO.new("x" * 2),
|
||||
filename: "me.jpg",
|
||||
content_type: "image/jpeg",
|
||||
content_type: "image/png",
|
||||
metadata: { virus_scan_result: ActiveStorage::VirusScanner::SAFE }
|
||||
)
|
||||
champ.save!
|
||||
|
|
Loading…
Reference in a new issue