|
|
|
|
@ -12,7 +12,7 @@ RSpec.describe Form::Sales::Questions::AddressLine1, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has the correct question_number" do |
|
|
|
|
expect(question.question_number).to eq(15) |
|
|
|
|
expect(question.question_number).to be_nil |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has the correct id" do |
|
|
|
|
@ -24,7 +24,7 @@ RSpec.describe Form::Sales::Questions::AddressLine1, type: :model do
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has the correct check_answer_label" do |
|
|
|
|
expect(question.check_answer_label).to eq("Address") |
|
|
|
|
expect(question.check_answer_label).to eq("Q15 - Address") |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
it "has the correct type" do |
|
|
|
|
|