about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorAkihiko Odaki (@fn_aki@pawoo.net) <akihiko.odaki.4i@stu.hosei.ac.jp>2017-06-19 18:30:27 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-06-19 11:30:27 +0200
commitd55f207274648369cba30ff001aa3e354fa30dca (patch)
treebcc6d01efe36e34025e2503092e99328004fe3e4 /spec/fabricators
parentcf6fe4f8cbafeb2f4e3a92bac4f3909cfc327edf (diff)
Cover Export more (#3840)
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/media_attachment_fabricator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/fabricators/media_attachment_fabricator.rb b/spec/fabricators/media_attachment_fabricator.rb
index dc91d708f..c5dfe12e5 100644
--- a/spec/fabricators/media_attachment_fabricator.rb
+++ b/spec/fabricators/media_attachment_fabricator.rb
@@ -1,3 +1,4 @@
 Fabricator(:media_attachment) do
   account
+  file { [attachment_fixture(['attachment.gif', 'attachment.jpg', 'attachment.webm'].sample), nil].sample }
 end