diff --git a/app/models/form/sales/questions/purchaser_code.rb b/app/models/form/sales/questions/purchaser_code.rb index b391faf21..1f9551d05 100644 --- a/app/models/form/sales/questions/purchaser_code.rb +++ b/app/models/form/sales/questions/purchaser_code.rb @@ -4,6 +4,7 @@ class Form::Sales::Questions::PurchaserCode < ::Form::Question @id = "purchid" @check_answer_label = "Purchaser code" @header = "What is the purchaser code?" + @hint_text = "This is how you usually refer to the purchaser on your own systems." @type = "text" @width = 10 @page = page diff --git a/spec/models/form/sales/questions/purchaser_code_spec.rb b/spec/models/form/sales/questions/purchaser_code_spec.rb index 3d01dd0ab..8f75d676b 100644 --- a/spec/models/form/sales/questions/purchaser_code_spec.rb +++ b/spec/models/form/sales/questions/purchaser_code_spec.rb @@ -19,6 +19,10 @@ RSpec.describe Form::Sales::Questions::PurchaserCode, type: :model do expect(question.header).to eq("What is the purchaser code?") end + it "has the correct hint_text" do + expect(question.hint_text).to eq("This is how you usually refer to the purchaser on your own systems.") + end + it "has the correct check_answer_label" do expect(question.check_answer_label).to eq("Purchaser code") end