Files
danbooru/test/factories/note.rb
evazion 2dab9aa075 models: remove creator_id from artists, notes, and pools.
Remove the creator_id field from artists, notes, and pools. The
creator_id wasn't otherwise used and was inconsistent with the
artist/note/pool history in some cases, especially for old artists.
2020-02-16 23:09:00 -06:00

12 lines
187 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