internal_transfer:"Answer cannot be %{prevten} as this tenancy is an internal transfer"
internal_transfer:"Answer cannot be %{prevten} as this tenancy is an internal transfer"
la_general_needs:
la_general_needs:
internal_transfer:"Answer cannot be a fixed-term or lifetime local authority general needs tenancy as it’s an internal transfer and a private registered provider is on the tenancy agreement"
internal_transfer:"Answer cannot be a fixed-term or lifetime local authority general needs tenancy as it’s an internal transfer and a private registered provider is on the tenancy agreement"
invalid_for_discounted_sale:"Buyer 1’s previous tenure should be “local authority tenant” or “private registered provider or housing association tenant” for discounted sales"
referral:
referral:
secure_tenancy:"Answer must be internal transfer as this is a secure tenancy"
secure_tenancy:"Answer must be internal transfer as this is a secure tenancy"
rsnvac_non_temp:"Answer cannot be this source of referral as this is a re-let to tenant who occupied the same property as temporary accommodation"
rsnvac_non_temp:"Answer cannot be this source of referral as this is a re-let to tenant who occupied the same property as temporary accommodation"
expect(record.errors["prevten"]).toinclude("Buyer 1’s previous tenure should be “local authority tenant” or “private registered provider or housing association tenant” for discounted sales")
expect(record.errors["ownershipsch"]).toinclude("Buyer 1’s previous tenure should be “local authority tenant” or “private registered provider or housing association tenant” for discounted sales")
end
end
it"does not add an error when previous tenure is allowed"do