Fix model tests
This commit is contained in:
parent
9304d049de
commit
e92b563acf
4 changed files with 13 additions and 13 deletions
|
@ -29,14 +29,17 @@ FactoryGirl.define do
|
|||
owner
|
||||
end
|
||||
|
||||
factory :group do
|
||||
sequence(:name) { |n| "group#{n}" }
|
||||
path { name.downcase.gsub(/\s/, '_') }
|
||||
owner
|
||||
type 'Group'
|
||||
end
|
||||
|
||||
factory :namespace do
|
||||
sequence(:name) { |n| "group#{n}" }
|
||||
path { name.downcase.gsub(/\s/, '_') }
|
||||
owner
|
||||
|
||||
factory :group do
|
||||
type 'Group'
|
||||
end
|
||||
end
|
||||
|
||||
factory :users_project do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue