Browse Source

refactor: linting

pull/1093/head
natdeanlewissoftwire 4 years ago
parent
commit
ca29e6c7ab
  1. 10
      spec/models/form/sales/questions/person_relationship_to_buyer1_spec.rb

10
spec/models/form/sales/questions/person_relationship_to_buyer1_spec.rb

@ -30,11 +30,11 @@ RSpec.describe Form::Sales::Questions::PersonRelationshipToBuyer1, type: :model
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({
"P" => { "value" => "Partner" }, "P" => { "value" => "Partner" },
"C" => { "value" => "Child", "hint" => "Must be eligible for child benefit, aged under 16 or under 20 if still in full-time education." }, "C" => { "value" => "Child", "hint" => "Must be eligible for child benefit, aged under 16 or under 20 if still in full-time education." },
"X" => { "value" => "Other" }, "X" => { "value" => "Other" },
"R" => { "value" => "Person prefers not to say" }, "R" => { "value" => "Person prefers not to say" },
}) })
end end
context "when person 1" do context "when person 1" do

Loading…
Cancel
Save