Browse Source

Update reson answer options ordering (#3027)

pull/3032/head
kosiakkatrina 2 weeks ago committed by GitHub
parent
commit
eadd8b563f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      app/models/form/lettings/questions/reason.rb
  2. 4
      spec/models/form/lettings/questions/reason_spec.rb

2
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

4
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

Loading…
Cancel
Save