Browse Source

CLDC-4362: Code don't know as 9 in 2026

pull/3286/head
samyou-softwire 2 days ago
parent
commit
b61c2af510
  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

@ -14,7 +14,7 @@ class Form::Sales::Questions::BuyerStillServing < ::Form::Question
"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 },
"7" => { "value" => "Don’t know" },
"9" => { "value" => "Don’t know" },
}.freeze
else
{

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

@ -49,7 +49,7 @@ RSpec.describe Form::Sales::Questions::BuyerStillServing, type: :model do
"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 },
"7" => { "value" => "Don’t know" },
"9" => { "value" => "Don’t know" },
})
end
end

Loading…
Cancel
Save