1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-28 06:48:28 +09:00
mastodon/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