Browse Source

fix typo (#1258)

CLDC-1790-sales-validation-content-updates^2 v0.2.37
Phil Lee 2 years ago committed by GitHub
parent
commit
178e3f0407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/sales/questions/discounted_ownership_type.rb
  2. 2
      spec/models/form/sales/questions/discounted_ownership_type_spec.rb

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

@ -9,7 +9,7 @@ class Form::Sales::Questions::DiscountedOwnershipType < ::Form::Question
end end
ANSWER_OPTIONS = { ANSWER_OPTIONS = {
"8" => { "value" => "Right to Aquire (RTA)" }, "8" => { "value" => "Right to Acquire (RTA)" },
"14" => { "value" => "Preserved Right to Buy (PRTB)" }, "14" => { "value" => "Preserved Right to Buy (PRTB)" },
"27" => { "value" => "Voluntary Right to Buy (VRTB)" }, "27" => { "value" => "Voluntary Right to Buy (VRTB)" },
"9" => { "value" => "Right to Buy (RTB)" }, "9" => { "value" => "Right to Buy (RTB)" },

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

@ -33,7 +33,7 @@ RSpec.describe Form::Sales::Questions::DiscountedOwnershipType, type: :model do
it "has the correct answer_options" do it "has the correct answer_options" do
expect(question.answer_options).to eq({ expect(question.answer_options).to eq({
"8" => { "value" => "Right to Aquire (RTA)" }, "8" => { "value" => "Right to Acquire (RTA)" },
"14" => { "value" => "Preserved Right to Buy (PRTB)" }, "14" => { "value" => "Preserved Right to Buy (PRTB)" },
"27" => { "value" => "Voluntary Right to Buy (VRTB)" }, "27" => { "value" => "Voluntary Right to Buy (VRTB)" },
"9" => { "value" => "Right to Buy (RTB)" }, "9" => { "value" => "Right to Buy (RTB)" },

Loading…
Cancel
Save