Browse Source

feat: update tests

CLDC-3132-24-25-reason-for-vacancy-update
natdeanlewissoftwire 11 months ago
parent
commit
cdf2d55c24
  1. 3
      spec/models/form/lettings/questions/rsnvac_spec.rb

3
spec/models/form/lettings/questions/rsnvac_spec.rb

@ -44,7 +44,7 @@ RSpec.describe Form::Lettings::Questions::Rsnvac, type: :model do
expect(question.answer_options).to eq({ expect(question.answer_options).to eq({
"13" => { "13" => {
"value" => "Internal transfer", "value" => "Internal transfer",
"hint" => "Excluding renewals of a fixed-term tenancy", "hint" => "Where a tenant moved from one social housing property to another property. Their landlord may be the same or may have changed.",
}, },
"5" => { "5" => {
"value" => "Previous tenant died with no succession", "value" => "Previous tenant died with no succession",
@ -54,6 +54,7 @@ RSpec.describe Form::Lettings::Questions::Rsnvac, type: :model do
}, },
"14" => { "14" => {
"value" => "Renewal of fixed-term tenancy", "value" => "Renewal of fixed-term tenancy",
"hint" => "To the same tenant in the same property, except if was previously used as temporary accommodation.",
}, },
"19" => { "19" => {
"value" => "Tenant involved in a succession downsize", "value" => "Tenant involved in a succession downsize",

Loading…
Cancel
Save