Files
danbooru/test/factories/pool.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

7 lines
148 B
Ruby

FactoryBot.define do
factory(:pool) do
name {"pool_" + rand(100..1000099).to_s}
description {FFaker::Lorem.sentences.join(" ")}
end
end