Browse Source

CLDC-4362: Add 'Don't know' to Q70 still serving

pull/3286/head
samyou-softwire 4 days ago
parent
commit
d71fc65f97
  1. 2
      app/models/form/sales/questions/buyer_still_serving.rb
  2. 2
      spec/models/form/sales/questions/buyer_still_serving_spec.rb

2
app/models/form/sales/questions/buyer_still_serving.rb

@ -13,6 +13,8 @@ class Form::Sales::Questions::BuyerStillServing < ::Form::Question
"4" => { "value" => "Yes" }, "4" => { "value" => "Yes" },
"5" => { "value" => "No - they left up to and including 2 years ago" }, "5" => { "value" => "No - they left up to and including 2 years ago" },
"6" => { "value" => "No - they left more than 2 years ago" }, "6" => { "value" => "No - they left more than 2 years ago" },
"divider" => { "value" => true },
"7" => { "value" => "Don’t know" },
}.freeze }.freeze
else else
{ {

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

@ -48,6 +48,8 @@ RSpec.describe Form::Sales::Questions::BuyerStillServing, type: :model do
"4" => { "value" => "Yes" }, "4" => { "value" => "Yes" },
"5" => { "value" => "No - they left up to and including 2 years ago" }, "5" => { "value" => "No - they left up to and including 2 years ago" },
"6" => { "value" => "No - they left more than 2 years ago" }, "6" => { "value" => "No - they left more than 2 years ago" },
"divider" => { "value" => true },
"7" => { "value" => "Don’t know" },
}) })
end end
end end

Loading…
Cancel
Save