donphan/spec/fabricators/poll_vote_fabricator.rb

8 lines
119 B
Ruby

# frozen_string_literal: true
Fabricator(:poll_vote) do
account { Fabricate.build(:account) }
poll
choice 0
end