Browse Source

fix typo

pull/1258/head
Phil Lee 3 years ago
parent
commit
c0682dcb33
  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