hometown/spec/fabricators/media_attachment_fabricator.rb
Akihiko Odaki (@fn_aki@pawoo.net) d55f207274 Cover Export more (#3840)
2017-06-19 11:30:27 +02:00

5 lines
155 B
Ruby

Fabricator(:media_attachment) do
account
file { [attachment_fixture(['attachment.gif', 'attachment.jpg', 'attachment.webm'].sample), nil].sample }
end