From f8ff641c5d73375c6769d28b3c1afbb74a2c2ef0 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Mon, 9 Jan 2023 13:48:45 +0000 Subject: [PATCH] feat: remove buyer 1 working situation duplicated header --- app/models/form/sales/pages/buyer1_working_situation.rb | 2 +- spec/models/form/sales/pages/buyer1_working_situation_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/pages/buyer1_working_situation.rb b/app/models/form/sales/pages/buyer1_working_situation.rb index caaa0e60f..bde1dba09 100644 --- a/app/models/form/sales/pages/buyer1_working_situation.rb +++ b/app/models/form/sales/pages/buyer1_working_situation.rb @@ -2,7 +2,7 @@ class Form::Sales::Pages::Buyer1WorkingSituation < ::Form::Page def initialize(id, hsh, subsection) super @id = "buyer_1_working_situation" - @header = "Which of these best describes buyer 1's working situation?" + @header = "" @description = "" @subsection = subsection end diff --git a/spec/models/form/sales/pages/buyer1_working_situation_spec.rb b/spec/models/form/sales/pages/buyer1_working_situation_spec.rb index 2a48f0b0f..4b432ed03 100644 --- a/spec/models/form/sales/pages/buyer1_working_situation_spec.rb +++ b/spec/models/form/sales/pages/buyer1_working_situation_spec.rb @@ -20,6 +20,6 @@ RSpec.describe Form::Sales::Pages::Buyer1WorkingSituation, type: :model do end it "has the correct header" do - expect(page.header).to eq("Which of these best describes buyer 1's working situation?") + expect(page.header).to eq("") end end