diff --git a/db/fixtures/development/04_project.rb b/db/fixtures/development/04_project.rb index 50726a5..5cb1917 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", "") -- libgit2 0.21.2