|
|
@ -32,13 +32,13 @@ RSpec.describe Form::Sales::Questions::Buyer1PreviousTenure, type: :model do |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct answer_options" do |
|
|
|
it "has the correct answer_options" do |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
"1" => { "value" => "Local Authority" }, |
|
|
|
"1" => { "value" => "Local authority tenant" }, |
|
|
|
"2" => { "value" => "Private registered provider or housing association tenant" }, |
|
|
|
"2" => { "value" => "Private registered provider or housing association tenant" }, |
|
|
|
"3" => { "value" => "Private tenant" }, |
|
|
|
"3" => { "value" => "Private tenant" }, |
|
|
|
"4" => { "value" => "Tied home or renting with job" }, |
|
|
|
"4" => { "value" => "Tied home or renting with job" }, |
|
|
|
"5" => { "value" => "Owner occupier" }, |
|
|
|
"5" => { "value" => "Owner occupier" }, |
|
|
|
"6" => { "value" => "Living with family or friends" }, |
|
|
|
"6" => { "value" => "Living with family or friends" }, |
|
|
|
"7" => { "value" => "Temporary accomodation" }, |
|
|
|
"7" => { "value" => "Temporary accommodation" }, |
|
|
|
"9" => { "value" => "Other" }, |
|
|
|
"9" => { "value" => "Other" }, |
|
|
|
"0" => { "value" => "Don’t know" }, |
|
|
|
"0" => { "value" => "Don’t know" }, |
|
|
|
}) |
|
|
|
}) |
|
|
|