tests: add missing controller tests.

This commit is contained in:
evazion
2020-03-30 12:36:06 -05:00
parent 83c2abf1ae
commit 4e2fd82ef6
19 changed files with 227 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
FactoryBot.define do
factory(:pixiv_ugoira_frame_data) do
post
content_type { "image/jpeg" }
data do
[
{ "file" => "000000.jpg", "delay" => 200 },
{ "file" => "000001.jpg", "delay" => 200 },
]
end
end
end