Update seeds for state columns

This commit is contained in:
Sijmen Mulder 2013-02-19 22:14:28 +01:00
parent 6bc9249b38
commit 3a45e6010f
2 changed files with 2 additions and 2 deletions

View file

@ -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)
}])

View file

@ -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)
}])