From 26edc516151a32ca8da40c9eb7f9895df1c9ba91 Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Mon, 9 Mar 2026 15:54:44 +0000 Subject: [PATCH] CLDC-4249: reorder answer options --- .../form/lettings/questions/previous_tenure.rb | 12 ++++++------ .../form/lettings/questions/previous_tenure_spec.rb | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/models/form/lettings/questions/previous_tenure.rb b/app/models/form/lettings/questions/previous_tenure.rb index 65a3911b2..d0ba644ed 100644 --- a/app/models/form/lettings/questions/previous_tenure.rb +++ b/app/models/form/lettings/questions/previous_tenure.rb @@ -52,22 +52,22 @@ class Form::Lettings::Questions::PreviousTenure < ::Form::Question "35" => { "value" => "Extra care housing" }, "38" => { "value" => "Older people’s housing for tenants with low support needs" }, "6" => { "value" => "Other supported housing" }, - "3" => { "value" => "Private sector tenancy" }, "27" => { "value" => "Owner occupation (low-cost home ownership)" }, "26" => { "value" => "Owner occupation (private)" }, + "3" => { "value" => "Private sector tenancy" }, "28" => { "value" => "Living with friends or family (long-term)" }, "39" => { "value" => "Sofa surfing (moving regularly between family or friends, no permanent bed)" }, "14" => { "value" => "Bed and breakfast" }, "7" => { "value" => "Direct access hostel" }, "10" => { "value" => "Hospital" }, "29" => { "value" => "Prison or approved probation hostel" }, - "19" => { "value" => "Rough sleeping" }, "18" => { "value" => "Any other temporary accommodation" }, + "19" => { "value" => "Rough sleeping" }, + "21" => { "value" => "Refuge" }, "13" => { "value" => "Children’s home or foster care" }, "24" => { "value" => "Home Office Asylum Support" }, "37" => { "value" => "Host family or similar refugee accommodation" }, "23" => { "value" => "Mobile home or caravan" }, - "21" => { "value" => "Refuge" }, "9" => { "value" => "Residential care home" }, "4" => { "value" => "Tied housing or rented with job" }, "25" => { "value" => "Any other accommodation" }, @@ -82,22 +82,22 @@ class Form::Lettings::Questions::PreviousTenure < ::Form::Question "35" => { "value" => "Extra care housing" }, "38" => { "value" => "Older people’s housing for tenants with low support needs" }, "6" => { "value" => "Other supported housing" }, - "3" => { "value" => "Private sector tenancy" }, "27" => { "value" => "Owner occupation (low-cost home ownership)" }, "26" => { "value" => "Owner occupation (private)" }, + "3" => { "value" => "Private sector tenancy" }, "28" => { "value" => "Living with friends or family (long-term)" }, "39" => { "value" => "Sofa surfing (moving regularly between family or friends, no permanent bed)" }, "14" => { "value" => "Bed and breakfast" }, "7" => { "value" => "Direct access hostel" }, "10" => { "value" => "Hospital" }, "29" => { "value" => "Prison or approved probation hostel" }, - "19" => { "value" => "Rough sleeping" }, "18" => { "value" => "Any other temporary accommodation" }, + "19" => { "value" => "Rough sleeping" }, + "21" => { "value" => "Refuge" }, "13" => { "value" => "Children’s home or foster care" }, "24" => { "value" => "Home Office Asylum Support" }, "37" => { "value" => "Host family or similar refugee accommodation" }, "23" => { "value" => "Mobile home or caravan" }, - "21" => { "value" => "Refuge" }, "9" => { "value" => "Residential care home" }, "4" => { "value" => "Tied housing or rented with job" }, "25" => { "value" => "Any other accommodation" }, diff --git a/spec/models/form/lettings/questions/previous_tenure_spec.rb b/spec/models/form/lettings/questions/previous_tenure_spec.rb index af891e568..21e9c7226 100644 --- a/spec/models/form/lettings/questions/previous_tenure_spec.rb +++ b/spec/models/form/lettings/questions/previous_tenure_spec.rb @@ -75,21 +75,21 @@ RSpec.describe Form::Lettings::Questions::PreviousTenure, type: :model do "35" => { "value" => "Extra care housing" }, "38" => { "value" => "Older people’s housing for tenants with low support needs" }, "6" => { "value" => "Other supported housing" }, - "3" => { "value" => "Private sector tenancy" }, "27" => { "value" => "Owner occupation (low-cost home ownership)" }, "26" => { "value" => "Owner occupation (private)" }, + "3" => { "value" => "Private sector tenancy" }, "28" => { "value" => "Living with friends or family (long-term)" }, "39" => { "value" => "Sofa surfing (moving regularly between family or friends, no permanent bed)" }, "14" => { "value" => "Bed and breakfast" }, "7" => { "value" => "Direct access hostel" }, "10" => { "value" => "Hospital" }, "29" => { "value" => "Prison or approved probation hostel" }, - "19" => { "value" => "Rough sleeping" }, "18" => { "value" => "Any other temporary accommodation" }, + "19" => { "value" => "Rough sleeping" }, + "21" => { "value" => "Refuge" }, "13" => { "value" => "Children’s home or foster care" }, "24" => { "value" => "Home Office Asylum Support" }, "23" => { "value" => "Mobile home or caravan" }, - "21" => { "value" => "Refuge" }, "9" => { "value" => "Residential care home" }, "4" => { "value" => "Tied housing or rented with job" }, "37" => { "value" => "Host family or similar refugee accommodation" }, @@ -113,21 +113,21 @@ RSpec.describe Form::Lettings::Questions::PreviousTenure, type: :model do "35" => { "value" => "Extra care housing" }, "38" => { "value" => "Older people’s housing for tenants with low support needs" }, "6" => { "value" => "Other supported housing" }, - "3" => { "value" => "Private sector tenancy" }, "27" => { "value" => "Owner occupation (low-cost home ownership)" }, "26" => { "value" => "Owner occupation (private)" }, + "3" => { "value" => "Private sector tenancy" }, "28" => { "value" => "Living with friends or family (long-term)" }, "39" => { "value" => "Sofa surfing (moving regularly between family or friends, no permanent bed)" }, "14" => { "value" => "Bed and breakfast" }, "7" => { "value" => "Direct access hostel" }, "10" => { "value" => "Hospital" }, "29" => { "value" => "Prison or approved probation hostel" }, - "19" => { "value" => "Rough sleeping" }, "18" => { "value" => "Any other temporary accommodation" }, + "19" => { "value" => "Rough sleeping" }, + "21" => { "value" => "Refuge" }, "13" => { "value" => "Children’s home or foster care" }, "24" => { "value" => "Home Office Asylum Support" }, "23" => { "value" => "Mobile home or caravan" }, - "21" => { "value" => "Refuge" }, "9" => { "value" => "Residential care home" }, "4" => { "value" => "Tied housing or rented with job" }, "37" => { "value" => "Host family or similar refugee accommodation" },