diff --git a/spec/factories.rb b/spec/factories.rb index d8b587015..9f086ab8e 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -321,6 +321,7 @@ FactoryGirl.define do association :officer_assignment, factory: :poll_officer_assignment association :booth_assignment, factory: :poll_booth_assignment count (1..100).to_a.sample + date (1.month.ago.to_datetime..1.month.from_now.to_datetime).to_a.sample end factory :poll_voter, class: 'Poll::Voter' do