From 4e924afbf7d96c9fce75da62249e107b900aa998 Mon Sep 17 00:00:00 2001 From: MadeTech Dushan Date: Fri, 24 Sep 2021 10:41:02 +0100 Subject: [PATCH] add new trait to case log factory --- spec/factories/case_log.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spec/factories/case_log.rb b/spec/factories/case_log.rb index e2f132c53..41c92a3b3 100644 --- a/spec/factories/case_log.rb +++ b/spec/factories/case_log.rb @@ -11,6 +11,16 @@ FactoryBot.define do tenant_code { "BZ737" } postcode { "NW1 7TY" } end + trait :near_check_answers_household_characteristics do + status { 0 } + tenant_code { "AB123" } + postcode { "LE11 2DW" } + tenant_age { 25 } + tenant_gender { "Male" } + tenant_ethnic_group { "White: English/Scottish/Welsh/Northern Irish/British" } + tenant_nationality { "UK national resident in UK" } + tenant_economic_status { "Part-time - Less than 30 hours" } + end created_at { Time.zone.now } updated_at { Time.zone.now } end