Browse Source

test: update tests to fix typos

pull/1416/head
Sam Seed 3 years ago
parent
commit
7960ac53c2
  1. 4
      spec/models/form/sales/questions/buyer1_previous_tenure_spec.rb
  2. 4
      spec/models/form/sales/questions/previous_tenure_buyer2_spec.rb

4
spec/models/form/sales/questions/buyer1_previous_tenure_spec.rb

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

4
spec/models/form/sales/questions/previous_tenure_buyer2_spec.rb

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

Loading…
Cancel
Save