Skip to content
Snippets Groups Projects
Commit 60e2a656 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add description to issues, projects in development fixtures

parent 7b70d81c
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
@@ -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
Loading
Loading
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment