Create seed projects with different visibility
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
f09a1ef81d
commit
4f670fbe9c
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ Gitlab::Seeder.quiet do
|
|||
import_url: url,
|
||||
namespace_id: group.id,
|
||||
name: project_path.titleize,
|
||||
description: Faker::Lorem.sentence
|
||||
description: Faker::Lorem.sentence,
|
||||
visibility_level: Gitlab::VisibilityLevel.values.sample
|
||||
}
|
||||
|
||||
project = Projects::CreateService.new(User.first, params).execute
|
||||
|
|
Loading…
Reference in a new issue