Skip to content

Commit

Permalink
Fix event seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
mtnstar committed Jun 11, 2024
1 parent 1f4fddc commit 4de31a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds/support/event_seeder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def seed_answers(participation)
Event::Answer.seed_once(:participation_id, :question_id, {
participation_id: participation.id,
question_id: q.id,
answer: q.choices? ? q.choice_items.shuffle.first : Faker::Lorem.sentence(1)
answer: q.choices? ? q.choice_items.shuffle.first : Faker::Lorem.sentences(number: 1)
})
end
end
Expand Down

0 comments on commit 4de31a6

Please sign in to comment.