Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/fixtures/development/17_cycle_analytics.rb')
-rw-r--r--db/fixtures/development/17_cycle_analytics.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/db/fixtures/development/17_cycle_analytics.rb b/db/fixtures/development/17_cycle_analytics.rb
index 95d956fb402..fa19775a571 100644
--- a/db/fixtures/development/17_cycle_analytics.rb
+++ b/db/fixtures/development/17_cycle_analytics.rb
@@ -157,16 +157,17 @@ class Gitlab::Seeder::CycleAnalytics
end
def create_new_vsm_project
+ namespace = FactoryBot.create(
+ :group,
+ name: "Value Stream Management Group #{suffix}",
+ path: "vsmg-#{suffix}"
+ )
project = FactoryBot.create(
:project,
name: "Value Stream Management Project #{suffix}",
path: "vsmp-#{suffix}",
creator: admin,
- namespace: FactoryBot.create(
- :group,
- name: "Value Stream Management Group #{suffix}",
- path: "vsmg-#{suffix}"
- )
+ namespace: namespace
)
project.create_repository