Browse Source

Remove child option for buyer 2

pull/2256/head
Kat 2 years ago
parent
commit
3a3e5da6df
  1. 1
      app/models/form/sales/questions/buyer2_working_situation.rb
  2. 1
      spec/models/form/sales/questions/buyer2_working_situation_spec.rb

1
app/models/form/sales/questions/buyer2_working_situation.rb

@ -27,7 +27,6 @@ class Form::Sales::Questions::Buyer2WorkingSituation < ::Form::Question
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"9" => { "value" => "Child under 16" },
}.freeze }.freeze
QUESTION_NUMBER_FROM_YEAR = { 2023 => 33, 2024 => 35 }.freeze QUESTION_NUMBER_FROM_YEAR = { 2023 => 33, 2024 => 35 }.freeze

1
spec/models/form/sales/questions/buyer2_working_situation_spec.rb

@ -47,7 +47,6 @@ RSpec.describe Form::Sales::Questions::Buyer2WorkingSituation, type: :model do
"0" => { "value" => "Other" }, "0" => { "value" => "Other" },
"10" => { "value" => "Buyer prefers not to say" }, "10" => { "value" => "Buyer prefers not to say" },
"7" => { "value" => "Full-time student" }, "7" => { "value" => "Full-time student" },
"9" => { "value" => "Child under 16" },
}) })
end end

Loading…
Cancel
Save