|
|
|
@ -39,10 +39,6 @@ RSpec.describe Form::Sales::Questions::DepositValueCheck, type: :model do |
|
|
|
it "has check_answers_card_number set to 0" do |
|
|
|
it "has check_answers_card_number set to 0" do |
|
|
|
expect(question.check_answers_card_number).to eq(0) |
|
|
|
expect(question.check_answers_card_number).to eq(0) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "does not have a check_answers_card_title" do |
|
|
|
|
|
|
|
expect(question.check_answers_card_title).to be_nil |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
context "when in 2026", { year: 26 } do |
|
|
|
context "when in 2026", { year: 26 } do |
|
|
|
@ -53,10 +49,6 @@ RSpec.describe Form::Sales::Questions::DepositValueCheck, type: :model do |
|
|
|
it "does not have a check_answers_card_number" do |
|
|
|
it "does not have a check_answers_card_number" do |
|
|
|
expect(question.check_answers_card_number).to be_nil |
|
|
|
expect(question.check_answers_card_number).to be_nil |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "has check_answers_card_title set to 'All buyers'" do |
|
|
|
|
|
|
|
expect(question.check_answers_card_title).to eq("All buyers") |
|
|
|
|
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct answer_options" do |
|
|
|
it "has the correct answer_options" do |
|
|
|
|