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