Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
This commit is contained in:
parent
a1ffc673b9
commit
eb1004f789
18 changed files with 127 additions and 53 deletions
11
db/fixtures/development/010_groups.rb
Normal file
11
db/fixtures/development/010_groups.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
Group.seed(:id, [
|
||||
{ id: 100, name: "Gitlab", path: 'gitlab', owner_id: 1},
|
||||
{ id: 101, name: "Rails", path: 'rails', owner_id: 1 },
|
||||
{ id: 102, name: "KDE", path: 'kde', owner_id: 1 }
|
||||
])
|
||||
|
||||
Project.seed(:id, [
|
||||
{ id: 10, name: "kdebase", path: "kdebase", owner_id: 1, namespace_id: 102 },
|
||||
{ id: 11, name: "kdelibs", path: "kdelibs", owner_id: 1, namespace_id: 102 },
|
||||
{ id: 12, name: "amarok", path: "amarok", owner_id: 1, namespace_id: 102 }
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue