makes all users old enough to vote by default when created for the specs

This commit is contained in:
kikito
2017-02-06 17:06:38 +01:00
committed by Javi Martín
parent 668b6cfd73
commit 71fd3657d3

View File

@@ -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