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

10 lines
226 B
Ruby
Raw Normal View History

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