instante-social/spec/fabricators/poll_vote_fabricator.rb

6 lines
59 B
Ruby

Fabricator(:poll_vote) do
account
poll
choice 0
end