poll_fabricator.rb 144 B

12345678
  1. Fabricator(:poll) do
  2. account
  3. status
  4. expires_at { 7.days.from_now }
  5. options %w(Foo Bar)
  6. multiple false
  7. hide_totals false
  8. end