mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 09:49:17 +01:00
6 lines
159 B
Ruby
6 lines
159 B
Ruby
FactoryGirl.define do
|
|
factory :question do |u|
|
|
u.sequence(:content) { |n| "#{QuestionGenerator.generate}#{n}" }
|
|
u.author_is_anonymous true
|
|
end
|
|
end
|