poll_fabricator.rb 234 B

12345678910
  1. # frozen_string_literal: true
  2. Fabricator(:poll) do
  3. account { Fabricate.build(:account) }
  4. status { Fabricate.build(:status) }
  5. expires_at { 7.days.from_now }
  6. options %w(Foo Bar)
  7. multiple false
  8. hide_totals false
  9. end