changes poll questions in dev_seeds to have different answers
This commit is contained in:
@@ -521,7 +521,7 @@ print "Creating Poll Questions"
|
|||||||
question = Poll::Question.create!(author: author,
|
question = Poll::Question.create!(author: author,
|
||||||
title: Faker::Lorem.sentence(3).truncate(60),
|
title: Faker::Lorem.sentence(3).truncate(60),
|
||||||
description: description,
|
description: description,
|
||||||
valid_answers: Faker::Lorem.words(3).join(', '),
|
valid_answers: Faker::Lorem.words((2..7).to_a.sample).join(', '),
|
||||||
poll: poll)
|
poll: poll)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user