Merge branch 'feature/groups' of dev.gitlabhq.com:gitlabhq
This commit is contained in:
commit
9e80d2d4f7
39 changed files with 747 additions and 37 deletions
|
@ -47,6 +47,12 @@ FactoryGirl.define do
|
|||
owner
|
||||
end
|
||||
|
||||
factory :group do
|
||||
sequence(:name) { |n| "group#{n}" }
|
||||
code { name.downcase.gsub(/\s/, '_') }
|
||||
owner
|
||||
end
|
||||
|
||||
factory :users_project do
|
||||
user
|
||||
project
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue