Browse Source

Fix typo in questions for 24/25 (#2276)

* feat: update renewal answer options accordingly

* feat: fix typo
pull/2277/head v0.4.22
natdeanlewissoftwire 10 months ago committed by GitHub
parent
commit
3e91662cc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/models/form/lettings/questions/reason.rb
  2. 2
      app/models/form/lettings/questions/reason_renewal.rb
  3. 2
      spec/models/form/lettings/questions/reason_renewal_spec.rb
  4. 2
      spec/models/form/lettings/questions/reason_spec.rb

2
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" }, "50" => { "value" => "End of social housing tenancy - no fault" },
"51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "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" }, "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" }, "1" => { "value" => "Permanently decanted from another property owned by this landlord" },
"2" => { "value" => "Left home country as a refugee" }, "2" => { "value" => "Left home country as a refugee" },
"45" => { "value" => "Discharged from prison" }, "45" => { "value" => "Discharged from prison" },

2
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" }, "50" => { "value" => "End of social housing tenancy - no fault" },
"51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "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" }, "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" }, "20" => { "value" => "Other" },
"47" => { "value" => "Tenant prefers not to say" }, "47" => { "value" => "Tenant prefers not to say" },
"divider" => { "value" => true }, "divider" => { "value" => true },

2
spec/models/form/lettings/questions/reason_renewal_spec.rb

@ -74,7 +74,7 @@ RSpec.describe Form::Lettings::Questions::ReasonRenewal, type: :model do
"50" => { "value" => "End of social housing tenancy - no fault" }, "50" => { "value" => "End of social housing tenancy - no fault" },
"51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "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" }, "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" }, "20" => { "value" => "Other" },
"47" => { "value" => "Tenant prefers not to say" }, "47" => { "value" => "Tenant prefers not to say" },
"divider" => { "value" => true }, "divider" => { "value" => true },

2
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" }, "50" => { "value" => "End of social housing tenancy - no fault" },
"51" => { "value" => "End of social housing tenancy - evicted due to anti-social behaviour (ASB)" }, "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" }, "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" }, "1" => { "value" => "Permanently decanted from another property owned by this landlord" },
"2" => { "value" => "Left home country as a refugee" }, "2" => { "value" => "Left home country as a refugee" },
"45" => { "value" => "Discharged from prison" }, "45" => { "value" => "Discharged from prison" },

Loading…
Cancel
Save