Files
danbooru/test/factories/note.rb
evazion f5012464ab Fix #3965: Extraneous API attributes.
Remove the updater_id/updater_ip_addr virtual attributes from
pools/notes. Juss pass them in as params to create_version instead.
2018-10-30 15:41:17 -05:00

12 lines
165 B
Ruby

FactoryBot.define do
factory(:note) do
post
x 1
y 1
width 1
height 1
is_active true
body {FFaker::Lorem.sentences.join(" ")}
end
end