Browse Source

add don't know option to buyer 1 previous tenure

pull/1345/head
Arthur Campbell 3 years ago
parent
commit
b6b53b3d4c
  1. 1
      app/models/form/sales/questions/buyer1_previous_tenure.rb
  2. 1
      spec/models/form/sales/questions/buyer1_previous_tenure_spec.rb

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

@ -17,5 +17,6 @@ class Form::Sales::Questions::Buyer1PreviousTenure < ::Form::Question
"6" => { "value" => "Living with family or friends" }, "6" => { "value" => "Living with family or friends" },
"7" => { "value" => "Temporary accomodation" }, "7" => { "value" => "Temporary accomodation" },
"9" => { "value" => "Other" }, "9" => { "value" => "Other" },
"0" => { "value" => "Don’t know" },
}.freeze }.freeze
end end

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

@ -41,6 +41,7 @@ RSpec.describe Form::Sales::Questions::Buyer1PreviousTenure, type: :model do
"6" => { "value" => "Living with family or friends" }, "6" => { "value" => "Living with family or friends" },
"7" => { "value" => "Temporary accomodation" }, "7" => { "value" => "Temporary accomodation" },
"9" => { "value" => "Other" }, "9" => { "value" => "Other" },
"0" => { "value" => "Don’t know" },
}) })
end end
end end

Loading…
Cancel
Save