2012-03-29 21:34:22 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :repository do
|
|
|
|
description { FactoryGirl.generate(:string) }
|
|
|
|
name { FactoryGirl.generate(:unixname) }
|
2014-01-21 04:51:49 +00:00
|
|
|
association :platform, factory: :platform
|
2012-03-29 21:34:22 +01:00
|
|
|
end
|
2011-11-23 18:12:20 +00:00
|
|
|
|
2014-01-21 04:51:49 +00:00
|
|
|
factory :personal_repository, parent: :repository do
|
|
|
|
association :platform, factory: :personal_platform
|
2012-03-29 21:34:22 +01:00
|
|
|
end
|
2014-01-21 04:51:49 +00:00
|
|
|
|
2011-11-29 14:36:51 +00:00
|
|
|
end
|