Add Officer relationship to Poll Voter

This commit is contained in:
Bertocq
2017-10-04 00:39:31 +02:00
parent 885a7bff2a
commit e928eb38ac
5 changed files with 11 additions and 2 deletions

View File

@@ -531,6 +531,7 @@ FactoryGirl.define do
factory :poll_voter, class: 'Poll::Voter' do
poll
association :user, :level_two
association :officer, factory: :poll_officer
origin "web"
trait :from_booth do