Browse Source

CLDC-4362: Add 'Don't know' to Q70 still serving (#3286)

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

* CLDC-4362: Code don't know as 9 in 2026
pull/3297/merge
Samuel Young 2 days ago committed by GitHub
parent
commit
cc5df996cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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" },
"5" => { "value" => "No - they left up to and including 2 years ago" },
"6" => { "value" => "No - they left more than 2 years ago" },
"divider" => { "value" => true },
"9" => { "value" => "Don’t know" },
}.freeze
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" },
"5" => { "value" => "No - they left up to and including 2 years ago" },
"6" => { "value" => "No - they left more than 2 years ago" },
"divider" => { "value" => true },
"9" => { "value" => "Don’t know" },
})
end
end

Loading…
Cancel
Save