Fix group ownership for dev seeds

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-02-25 10:44:29 +02:00
parent 4401382798
commit 136316a92d
No known key found for this signature in database
GPG key ID: 627C5F589F467F17

View file

@ -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", "")