diff --git a/spec/factories.rb b/spec/factories.rb index 27c98415d..049786578 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -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