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

9 lines
145 B
Ruby
Raw Permalink 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