diff --git a/spec/components/attachment/multiple_component_spec.rb b/spec/components/attachment/multiple_component_spec.rb index 9f4d02549..26dfacd2c 100644 --- a/spec/components/attachment/multiple_component_spec.rb +++ b/spec/components/attachment/multiple_component_spec.rb @@ -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!