gab-social/spec/fabricators/poll_fabricator.rb

9 lines
144 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
Fabricator(:poll) do
account
status
expires_at { 7.days.from_now }
options %w(Foo Bar)
multiple false
hide_totals false
end