From 71fd3657d3b5fa802da48fba223c130efcbbca72 Mon Sep 17 00:00:00 2001 From: kikito Date: Mon, 6 Feb 2017 17:06:38 +0100 Subject: [PATCH] makes all users old enough to vote by default when created for the specs --- spec/factories/users.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/factories/users.rb b/spec/factories/users.rb index c4a70a94b..f074d525c 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -6,6 +6,7 @@ FactoryBot.define do password "judgmentday" terms_of_service "1" confirmed_at { Time.current } + date_of_birth { 20.years.ago } public_activity true trait :incomplete_verification do