Browse Source

Rebase fixes, tests and lint

pull/2193/head
Kat 2 years ago
parent
commit
bf7dd8c115
  1. 2
      spec/models/form/lettings/questions/nationality_all_group_spec.rb
  2. 2
      spec/models/form/sales/questions/nationality_all_group_spec.rb

2
spec/models/form/lettings/questions/nationality_all_group_spec.rb

@ -33,7 +33,7 @@ RSpec.describe Form::Lettings::Questions::NationalityAllGroup, type: :model do
expect(question.answer_options).to eq({ expect(question.answer_options).to eq({
"826" => { "value" => "United Kingdom" }, "826" => { "value" => "United Kingdom" },
"12" => { "value" => "Other" }, "12" => { "value" => "Other" },
"13" => { "value" => "Tenant prefers not to say" }, "0" => { "value" => "Tenant prefers not to say" },
}) })
end end
end end

2
spec/models/form/sales/questions/nationality_all_group_spec.rb

@ -23,7 +23,7 @@ RSpec.describe Form::Sales::Questions::NationalityAllGroup, type: :model do
expect(question.answer_options).to eq({ expect(question.answer_options).to eq({
"826" => { "value" => "United Kingdom" }, "826" => { "value" => "United Kingdom" },
"12" => { "value" => "Other" }, "12" => { "value" => "Other" },
"13" => { "value" => "Buyer prefers not to say" }, "0" => { "value" => "Buyer prefers not to say" },
}) })
end end

Loading…
Cancel
Save