|
|
@ -19,6 +19,10 @@ RSpec.describe Form::Sales::Questions::PurchaserCode, type: :model do |
|
|
|
expect(question.header).to eq("What is the purchaser code?") |
|
|
|
expect(question.header).to eq("What is the purchaser code?") |
|
|
|
end |
|
|
|
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 |
|
|
|
it "has the correct check_answer_label" do |
|
|
|
expect(question.check_answer_label).to eq("Purchaser code") |
|
|
|
expect(question.check_answer_label).to eq("Purchaser code") |
|
|
|
end |
|
|
|
end |
|
|
|