Update seeds for state columns
This commit is contained in:
parent
6bc9249b38
commit
3a45e6010f
|
@ -16,7 +16,7 @@ Gitlab::Seeder.quiet do
|
|||
project_id: project.id,
|
||||
author_id: user_id,
|
||||
assignee_id: user_id,
|
||||
closed: [true, false].sample,
|
||||
state: ['opened', 'closed'].sample,
|
||||
milestone: project.milestones.sample,
|
||||
title: Faker::Lorem.sentence(6)
|
||||
}])
|
||||
|
|
|
@ -17,7 +17,7 @@ Gitlab::Seeder.quiet do
|
|||
project_id: project.id,
|
||||
author_id: user_id,
|
||||
assignee_id: user_id,
|
||||
closed: [true, false].sample,
|
||||
state: ['opened', 'closed'].sample,
|
||||
milestone: project.milestones.sample,
|
||||
title: Faker::Lorem.sentence(6)
|
||||
}])
|
||||
|
|
Loading…
Reference in a new issue