2015-10-19 07:23:49 +00:00
|
|
|
FactoryGirl.define do
|
|
|
|
factory :synapse do
|
2015-12-21 02:59:09 +00:00
|
|
|
sequence(:desc) { |n| "Cool synapse ##{n}" }
|
2016-02-09 06:25:39 +00:00
|
|
|
category :'from-to'
|
2015-12-16 14:19:58 +00:00
|
|
|
permission :commons
|
2015-12-17 15:45:38 +00:00
|
|
|
association :topic1, factory: :topic
|
|
|
|
association :topic2, factory: :topic
|
2016-02-09 06:25:39 +00:00
|
|
|
user
|
2015-10-19 07:23:49 +00:00
|
|
|
end
|
|
|
|
end
|