mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-02-08 11:03:37 +01:00
7 lines
159 B
Ruby
7 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
|