diff options
author | Sijmen Mulder <sjmulder@gmail.com> | 2013-02-19 22:14:28 +0100 |
---|---|---|
committer | Sijmen Mulder <sjmulder@gmail.com> | 2013-02-19 22:14:28 +0100 |
commit | 3a45e6010f6dde8f5047fc82283f0ef3c0f44712 (patch) | |
tree | cf49d2f73b2d3dd25f8853ef55ac242960896379 /db/fixtures | |
parent | 6bc9249b38c060c7f67e40b7d8a9ce5f2f351457 (diff) | |
download | gitlab-ce-3a45e6010f6dde8f5047fc82283f0ef3c0f44712.tar.gz |
Update seeds for state columns
Diffstat (limited to 'db/fixtures')
-rw-r--r-- | db/fixtures/development/09_issues.rb | 2 | ||||
-rw-r--r-- | db/fixtures/development/10_merge_requests.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/fixtures/development/09_issues.rb b/db/fixtures/development/09_issues.rb index 8978db4742b..cd9b2b3e456 100644 --- a/db/fixtures/development/09_issues.rb +++ b/db/fixtures/development/09_issues.rb @@ -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) }]) diff --git a/db/fixtures/development/10_merge_requests.rb b/db/fixtures/development/10_merge_requests.rb index 9904b4a1505..6d111b26c53 100644 --- a/db/fixtures/development/10_merge_requests.rb +++ b/db/fixtures/development/10_merge_requests.rb @@ -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) }]) |