From 77dc2ac71413316215f044130037331a1e8424f6 Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 26 Sep 2022 17:16:37 +0100 Subject: [PATCH] Change quotes to apostrophes --- app/models/form/sales/questions/buyer1_age_known.rb | 6 +++--- spec/models/form/sales/questions/buyer1_age_known_spec.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/models/form/sales/questions/buyer1_age_known.rb b/app/models/form/sales/questions/buyer1_age_known.rb index 234cb6be8..6eff9bb1e 100644 --- a/app/models/form/sales/questions/buyer1_age_known.rb +++ b/app/models/form/sales/questions/buyer1_age_known.rb @@ -2,12 +2,12 @@ class Form::Sales::Questions::Buyer1AgeKnown < ::Form::Question def initialize(id, hsh, page) super @id = "age1_known" - @check_answer_label = "Buyer 1's age" - @header = "Do you know buyer 1's age?" + @check_answer_label = "Buyer 1’s age" + @header = "Do you know buyer 1’s age?" @type = "radio" @answer_options = ANSWER_OPTIONS @page = page - @hint_text = "Buyer 1 is the person in the household who does the most paid work. If it's a joint purchase and the buyers do the same amount of paid work, buyer 1 is whoever is the oldest." + @hint_text = "Buyer 1 is the person in the household who does the most paid work. If it’s a joint purchase and the buyers do the same amount of paid work, buyer 1 is whoever is the oldest." @conditional_for = { "age1" => [0], } diff --git a/spec/models/form/sales/questions/buyer1_age_known_spec.rb b/spec/models/form/sales/questions/buyer1_age_known_spec.rb index 9a585cdb0..c07fb5864 100644 --- a/spec/models/form/sales/questions/buyer1_age_known_spec.rb +++ b/spec/models/form/sales/questions/buyer1_age_known_spec.rb @@ -16,11 +16,11 @@ RSpec.describe Form::Sales::Questions::Buyer1AgeKnown, type: :model do end it "has the correct header" do - expect(question.header).to eq("Do you know buyer 1's age?") + expect(question.header).to eq("Do you know buyer 1’s age?") end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Buyer 1's age") + expect(question.check_answer_label).to eq("Buyer 1’s age") end it "has the correct type" do @@ -45,6 +45,6 @@ RSpec.describe Form::Sales::Questions::Buyer1AgeKnown, type: :model do end it "has the correct hint" do - expect(question.hint_text).to eq("Buyer 1 is the person in the household who does the most paid work. If it's a joint purchase and the buyers do the same amount of paid work, buyer 1 is whoever is the oldest.") + expect(question.hint_text).to eq("Buyer 1 is the person in the household who does the most paid work. If it’s a joint purchase and the buyers do the same amount of paid work, buyer 1 is whoever is the oldest.") end end