metamaps--metamaps/spec/factories/synapses.rb
2015-12-16 22:19:58 +08:00

9 lines
206 B
Ruby

FactoryGirl.define do
factory :synapse do
desc { random_string(10) }
category :to
permission :commons
association :node1, factory: :topic
association :node2, factory: :topic
end
end