From a36015a7a786e272034822fc7b2121aa835f5677 Mon Sep 17 00:00:00 2001 From: Mo Seedat Date: Thu, 3 Nov 2022 23:10:52 +0000 Subject: [PATCH] Add postcode fields to sales_log :completed factory --- spec/factories/sales_log.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/factories/sales_log.rb b/spec/factories/sales_log.rb index 31c4f1882..2eb010cd1 100644 --- a/spec/factories/sales_log.rb +++ b/spec/factories/sales_log.rb @@ -51,6 +51,11 @@ FactoryBot.define do income1 { 10_000 } la_known { "1" } la { "E09000003" } + postcode_full { "SW9 8LA" } + pcode1 { "SW9" } + pcode2 { "8LA" } + postcode_known { 1 } + pcodenk { nil } end end end