|
|
|
@ -58,7 +58,6 @@ RSpec.describe Form::Sales::Questions::Buyer2EthnicBackgroundWhite, type: :model |
|
|
|
before do |
|
|
|
before do |
|
|
|
allow(form).to receive(:start_year_after_2024?).and_return(true) |
|
|
|
allow(form).to receive(:start_year_after_2024?).and_return(true) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
it "has the correct answer_options" do |
|
|
|
it "has the correct answer_options" do |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
expect(question.answer_options).to eq({ |
|
|
|
@ -69,4 +68,5 @@ RSpec.describe Form::Sales::Questions::Buyer2EthnicBackgroundWhite, type: :model |
|
|
|
"3" => { "value" => "Any other White background" }, |
|
|
|
"3" => { "value" => "Any other White background" }, |
|
|
|
}) |
|
|
|
}) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|