From 9ce15132ba090e78c5f2ed0878a217f32c0b662c Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Mon, 9 Mar 2026 16:02:01 +0000 Subject: [PATCH] Revert "CLDC-4249: reorder answer options" This reverts commit 26edc516151a32ca8da40c9eb7f9895df1c9ba91. --- .../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 d0ba644ed..65a3911b2 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" }, - "18" => { "value" => "Any other temporary accommodation" }, "19" => { "value" => "Rough sleeping" }, - "21" => { "value" => "Refuge" }, + "18" => { "value" => "Any other temporary accommodation" }, "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" }, - "18" => { "value" => "Any other temporary accommodation" }, "19" => { "value" => "Rough sleeping" }, - "21" => { "value" => "Refuge" }, + "18" => { "value" => "Any other temporary accommodation" }, "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 21e9c7226..af891e568 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" }, - "18" => { "value" => "Any other temporary accommodation" }, "19" => { "value" => "Rough sleeping" }, - "21" => { "value" => "Refuge" }, + "18" => { "value" => "Any other temporary accommodation" }, "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" }, - "18" => { "value" => "Any other temporary accommodation" }, "19" => { "value" => "Rough sleeping" }, - "21" => { "value" => "Refuge" }, + "18" => { "value" => "Any other temporary accommodation" }, "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" },