donphan/spec/fabricators/poll_vote_fabricator.rb

6 lines
58 B
Ruby

Fabricator(:poll_vote) do
account
poll
choice 0
end