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:
-rw-r--r--db/fixtures/development/04_project.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb
index 50726a5a51e..5cb19171abd 100644
--- a/db/fixtures/development/04_project.rb
+++ b/db/fixtures/development/04_project.rb
@@ -27,8 +27,9 @@ project_urls.each_with_index do |url, i|
path: group_path
)
group.description = Faker::Lorem.sentence
- group.owner = User.first
group.save
+
+ group.add_owner(User.first)
end
project_path.gsub!(".git", "")