From f3a37beafc5e9b7fb33a13ad28bb741d17bcf2bc Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Mon, 25 Nov 2024 16:41:52 +0000 Subject: [PATCH] Ensure sufficient gap between child and parent ages --- spec/factories/sales_log.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/factories/sales_log.rb b/spec/factories/sales_log.rb index 0c6236931..3b9349287 100644 --- a/spec/factories/sales_log.rb +++ b/spec/factories/sales_log.rb @@ -78,7 +78,7 @@ FactoryBot.define do noint { 2 } privacynotice { 1 } age1_known { 0 } - age1 { Faker::Number.within(range: 25..55) } + age1 { Faker::Number.within(range: 27..55) } sex1 { %w[F M X R].sample } national { 18 } buy1livein { 1 }