From dfe95e2356400a7d9d5bd42516e36691de6d7c1e Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 22 Sep 2022 16:27:31 +0100 Subject: [PATCH] feat: update tests (and add housingneeds_type to schema that was previously missing) --- db/schema.rb | 1 + spec/factories/sales_log.rb | 1 + 2 files changed, 2 insertions(+) diff --git a/db/schema.rb b/db/schema.rb index d6e5673a8..fa885644b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -235,6 +235,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_09_29_125204) do t.bigint "location_id" t.integer "major_repairs_date_value_check" t.integer "void_date_value_check" + t.integer "housingneeds_type" t.integer "housingneeds_other" t.index ["created_by_id"], name: "index_lettings_logs_on_created_by_id" t.index ["location_id"], name: "index_lettings_logs_on_location_id" diff --git a/spec/factories/sales_log.rb b/spec/factories/sales_log.rb index 670131681..0a8a56ee0 100644 --- a/spec/factories/sales_log.rb +++ b/spec/factories/sales_log.rb @@ -16,6 +16,7 @@ FactoryBot.define do ownershipsch { 2 } type { 8 } saledate { Time.utc(2022, 2, 2, 10, 36, 49) } + companybuy { 1 } jointpur { 1 } beds { 2 } jointmore { 1 }