2012-01-30 20:39:34 +00:00
|
|
|
# -*- encoding : utf-8 -*-
|
2012-03-29 21:34:22 +01:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :repository do
|
|
|
|
description { FactoryGirl.generate(:string) }
|
|
|
|
name { FactoryGirl.generate(:unixname) }
|
|
|
|
association :platform, :factory => :platform
|
|
|
|
end
|
2011-11-23 18:12:20 +00:00
|
|
|
|
2012-03-29 21:34:22 +01:00
|
|
|
factory :personal_repository, :parent => :repository do
|
2012-04-02 16:43:59 +01:00
|
|
|
association :platform, :factory => :personal_platform
|
2012-03-29 21:34:22 +01:00
|
|
|
end
|
2012-04-02 16:43:59 +01:00
|
|
|
|
2011-11-29 14:36:51 +00:00
|
|
|
end
|