diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb index 43178dee25d6798369ef9d173e7523cf627efd81..6fdb163c27dba0f00351dddd54df2666556c9fff 100644 --- a/db/fixtures/development/04_project.rb +++ b/db/fixtures/development/04_project.rb @@ -26,6 +26,7 @@ project_urls.each_with_index do |url, i| name: group_path.titleize, path: group_path ) + group.description = Faker::Lorem.sentence group.owner = User.first group.save end @@ -35,7 +36,8 @@ project_urls.each_with_index do |url, i| params = { import_url: url, namespace_id: group.id, - name: project_path.titleize + name: project_path.titleize, + description: Faker::Lorem.sentence } project = Projects::CreateContext.new(User.first, params).execute diff --git a/db/fixtures/development/09_issues.rb b/db/fixtures/development/09_issues.rb index 1535c16939cf8549407e2d8d2fd0f8d5d6d1f1d4..85e309b63358a882beba799b9722db6d6ad31ac5 100644 --- a/db/fixtures/development/09_issues.rb +++ b/db/fixtures/development/09_issues.rb @@ -22,7 +22,8 @@ Gitlab::Seeder.quiet do assignee_id: user_id, state: ['opened', 'closed'].sample, milestone: project.milestones.sample, - title: Faker::Lorem.sentence(6) + title: Faker::Lorem.sentence(6), + description: Faker::Lorem.sentence }]) ensure Thread.current[:current_user] = nil