ensl.org/spec/factories/forum.rb

7 lines
160 B
Ruby
Raw Permalink Normal View History

2015-08-20 14:48:19 +00:00
FactoryGirl.define do
factory :forum do
sequence(:title) { |n| "Forum Title #{n}" }
sequence(:description) { |n| "Forum Description #{n}" }
end
2015-08-20 15:35:25 +00:00
end