metamaps--metamaps/spec/factories/topics.rb

8 lines
145 B
Ruby

FactoryGirl.define do
factory :topic do
sequence(:name) { |n| "Cool Topic ##{n}" }
permission :commons
user
metacode
end
end