From 41faa8fb5a958303ca13bd0dce90aa1ca9ebc2ae Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 29 Feb 2024 11:59:50 +0000 Subject: [PATCH] feat: fix typo --- app/models/form/lettings/questions/reason.rb | 2 +- app/models/form/lettings/questions/reason_renewal.rb | 2 +- spec/models/form/lettings/questions/reason_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/form/lettings/questions/reason.rb b/app/models/form/lettings/questions/reason.rb index 501e441ad..a60cc3b3f 100644 --- a/app/models/form/lettings/questions/reason.rb +++ b/app/models/form/lettings/questions/reason.rb @@ -21,7 +21,7 @@ class Form::Lettings::Questions::Reason < ::Form::Question "50" => { "value" => "End of social housing tenancy - no fault" }, "51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "52" => { "value" => "End of social housing tenancy - evicted due to rent arrears" }, - "53" => { "value" => "End of fixed term tenancy - evicted for any other reason" }, + "53" => { "value" => "End of social housing tenancy - evicted for any other reason" }, "1" => { "value" => "Permanently decanted from another property owned by this landlord" }, "2" => { "value" => "Left home country as a refugee" }, "45" => { "value" => "Discharged from prison" }, diff --git a/app/models/form/lettings/questions/reason_renewal.rb b/app/models/form/lettings/questions/reason_renewal.rb index 0403442cc..e62041780 100644 --- a/app/models/form/lettings/questions/reason_renewal.rb +++ b/app/models/form/lettings/questions/reason_renewal.rb @@ -21,7 +21,7 @@ class Form::Lettings::Questions::ReasonRenewal < ::Form::Question "50" => { "value" => "End of social housing tenancy - no fault" }, "51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "52" => { "value" => "End of social housing tenancy - evicted due to rent arrears" }, - "53" => { "value" => "End of fixed term tenancy - evicted for any other reason" }, + "53" => { "value" => "End of social housing tenancy - evicted for any other reason" }, "20" => { "value" => "Other" }, "47" => { "value" => "Tenant prefers not to say" }, "divider" => { "value" => true }, diff --git a/spec/models/form/lettings/questions/reason_spec.rb b/spec/models/form/lettings/questions/reason_spec.rb index 577682f0c..4ea1a4a35 100644 --- a/spec/models/form/lettings/questions/reason_spec.rb +++ b/spec/models/form/lettings/questions/reason_spec.rb @@ -108,7 +108,7 @@ RSpec.describe Form::Lettings::Questions::Reason, type: :model do "50" => { "value" => "End of social housing tenancy - no fault" }, "51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "52" => { "value" => "End of social housing tenancy - evicted due to rent arrears" }, - "53" => { "value" => "End of fixed term tenancy - evicted for any other reason" }, + "53" => { "value" => "End of social housing tenancy - evicted for any other reason" }, "1" => { "value" => "Permanently decanted from another property owned by this landlord" }, "2" => { "value" => "Left home country as a refugee" }, "45" => { "value" => "Discharged from prison" },