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

10 lines
208 B
Ruby
Raw Normal View History

2015-10-19 07:23:49 +00:00
FactoryGirl.define do
factory :synapse do
desc { random_string(10) }
category :to
permission :commons
association :node1, factory: :topic
association :node2, factory: :topic
end
end