metamaps--metamaps/spec/factories/synapses.rb

11 lines
242 B
Ruby
Raw Permalink Normal View History

2015-10-19 07:23:49 +00:00
FactoryGirl.define do
factory :synapse do
sequence(:desc) { |n| "Cool synapse ##{n}" }
category :'from-to'
2015-12-16 14:19:58 +00:00
permission :commons
association :topic1, factory: :topic
association :topic2, factory: :topic
user
2015-10-19 07:23:49 +00:00
end
end