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

9 lines
145 B
Ruby
Raw Normal View History

2015-10-19 07:23:49 +00:00
FactoryGirl.define do
factory :topic do
sequence(:name) { |n| "Cool Topic ##{n}" }
2015-10-19 07:23:49 +00:00
permission :commons
user
metacode
2015-10-19 07:23:49 +00:00
end
end