mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-07 23:43:36 +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
|