Fix group ownership for dev seeds
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
4401382798
commit
136316a92d
1 changed files with 2 additions and 1 deletions
|
@ -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", "")
|
||||
|
|
Loading…
Reference in a new issue