From c0682dcb33dc2f77c63609b410c292ee093a6e54 Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Tue, 31 Jan 2023 13:21:14 +0000 Subject: [PATCH] fix typo --- app/models/form/sales/questions/discounted_ownership_type.rb | 2 +- .../form/sales/questions/discounted_ownership_type_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/discounted_ownership_type.rb b/app/models/form/sales/questions/discounted_ownership_type.rb index 2cbef6117..f75d83c01 100644 --- a/app/models/form/sales/questions/discounted_ownership_type.rb +++ b/app/models/form/sales/questions/discounted_ownership_type.rb @@ -9,7 +9,7 @@ class Form::Sales::Questions::DiscountedOwnershipType < ::Form::Question end ANSWER_OPTIONS = { - "8" => { "value" => "Right to Aquire (RTA)" }, + "8" => { "value" => "Right to Acquire (RTA)" }, "14" => { "value" => "Preserved Right to Buy (PRTB)" }, "27" => { "value" => "Voluntary Right to Buy (VRTB)" }, "9" => { "value" => "Right to Buy (RTB)" }, diff --git a/spec/models/form/sales/questions/discounted_ownership_type_spec.rb b/spec/models/form/sales/questions/discounted_ownership_type_spec.rb index 51acd2fb5..d1c074023 100644 --- a/spec/models/form/sales/questions/discounted_ownership_type_spec.rb +++ b/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 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)" }, "27" => { "value" => "Voluntary Right to Buy (VRTB)" }, "9" => { "value" => "Right to Buy (RTB)" },