poll_fabricator.rb 144 Bytes
Newer Older
Rob Colbert's avatar
Rob Colbert committed
1 2 3 4 5 6 7 8
Fabricator(:poll) do
  account
  status
  expires_at  { 7.days.from_now }
  options     %w(Foo Bar)
  multiple    false
  hide_totals false
end