This commit is contained in:
gitlabhq 2011-10-09 22:36:57 +03:00
parent 67f0c62d07
commit 035196e7a8
4 changed files with 12 additions and 3 deletions

View file

@ -3,6 +3,7 @@ require File.join(Rails.root, 'spec', 'factory')
Factory.add(:project, Project) do |obj|
obj.name = Faker::Internet.user_name
obj.path = 'legit'
obj.owner = Factory(:user)
obj.code = 'LGT'
end
@ -10,6 +11,7 @@ Factory.add(:public_project, Project) do |obj|
obj.name = Faker::Internet.user_name
obj.path = 'legit'
obj.private_flag = false
obj.owner = Factory(:user)
obj.code = 'LGT'
end