name: group_path.titleize,
path: group_path
)
+ group.description = Faker::Lorem.sentence
group.owner = User.first
group.save
end
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
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