adds date to officer_assignment factory

This commit is contained in:
Juanjo Bazán
2016-12-27 17:45:46 +01:00
parent a0118cb163
commit 77c2d61c64

View File

@@ -310,6 +310,7 @@ FactoryGirl.define do
factory :poll_officer_assignment, class: 'Poll::OfficerAssignment' do
association :officer, factory: :poll_officer
association :booth_assignment, factory: :poll_booth_assignment
date Time.now.to_date
end
factory :poll_voter, class: 'Poll::Voter' do