Browse Source

refactor: lint

pull/2199/head
natdeanlewissoftwire 2 years ago
parent
commit
32d16c897f
  1. 18
      spec/models/form/sales/questions/buyer2_ethnic_background_white_spec.rb

18
spec/models/form/sales/questions/buyer2_ethnic_background_white_spec.rb

@ -58,15 +58,15 @@ RSpec.describe Form::Sales::Questions::Buyer2EthnicBackgroundWhite, type: :model
before do before do
allow(form).to receive(:start_year_after_2024?).and_return(true) allow(form).to receive(:start_year_after_2024?).and_return(true)
end end
end
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" => "English, Welsh, Northern Irish, Scottish or British" }, "1" => { "value" => "English, Welsh, Northern Irish, Scottish or British" },
"2" => { "value" => "Irish" }, "2" => { "value" => "Irish" },
"18" => { "value" => "Gypsy or Irish Traveller" }, "18" => { "value" => "Gypsy or Irish Traveller" },
"20" => { "value" => "Roma" }, "20" => { "value" => "Roma" },
"3" => { "value" => "Any other White background" }, "3" => { "value" => "Any other White background" },
}) })
end
end end
end end

Loading…
Cancel
Save