Files
danbooru/test/factories/artist.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
110 B
Ruby

FactoryBot.define do
factory(:artist) do
name { rand(1_000_000).to_s }
is_active { true }
end
end