From eadd8b563fccc7993c4626b428ab5f69cfbaa4d8 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Mon, 31 Mar 2025 18:27:51 +0100 Subject: [PATCH] Update reson answer options ordering (#3027) --- app/models/form/lettings/questions/reason.rb | 2 +- spec/models/form/lettings/questions/reason_spec.rb | 4 ++-- 2 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 5fe377bbb..43c9f8d15 100644 --- a/app/models/form/lettings/questions/reason.rb +++ b/app/models/form/lettings/questions/reason.rb @@ -45,8 +45,8 @@ class Form::Lettings::Questions::Reason < ::Form::Question "30" => { "value" => "Under occupation (no incentive)" }, "18" => { "value" => "To move to accommodation with support" }, "19" => { "value" => "To move to independent accommodation" }, - "20" => { "value" => "Other" }, "47" => { "value" => "Tenant prefers not to say" }, + "20" => { "value" => "Other" }, "divider" => { "value" => true }, "28" => { "value" => "Don’t know" }, }.freeze diff --git a/spec/models/form/lettings/questions/reason_spec.rb b/spec/models/form/lettings/questions/reason_spec.rb index 88fa7c061..6256725ba 100644 --- a/spec/models/form/lettings/questions/reason_spec.rb +++ b/spec/models/form/lettings/questions/reason_spec.rb @@ -162,10 +162,10 @@ RSpec.describe Form::Lettings::Questions::Reason, type: :model do "30" => { "value" => "Under occupation (no incentive)" }, "18" => { "value" => "To move to accommodation with support" }, "19" => { "value" => "To move to independent accommodation" }, + "47" => { "value" => "Tenant prefers not to say" }, "20" => { "value" => "Other" }, - "28" => { "value" => "Don’t know" }, "divider" => { "value" => true }, - "47" => { "value" => "Tenant prefers not to say" }, + "28" => { "value" => "Don’t know" }, }) end end