Browse Source

feat: remove buyer 1 working situation duplicated header

pull/1103/head
natdeanlewissoftwire 3 years ago
parent
commit
f8ff641c5d
  1. 2
      app/models/form/sales/pages/buyer1_working_situation.rb
  2. 2
      spec/models/form/sales/pages/buyer1_working_situation_spec.rb

2
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) def initialize(id, hsh, subsection)
super super
@id = "buyer_1_working_situation" @id = "buyer_1_working_situation"
@header = "Which of these best describes buyer 1's working situation?" @header = ""
@description = "" @description = ""
@subsection = subsection @subsection = subsection
end end

2
spec/models/form/sales/pages/buyer1_working_situation_spec.rb

@ -20,6 +20,6 @@ RSpec.describe Form::Sales::Pages::Buyer1WorkingSituation, type: :model do
end end
it "has the correct header" do 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
end end

Loading…
Cancel
Save