@ -11,6 +11,13 @@ class Form::Sales::Questions::Nationality1 < ::Form::Question
@conditional_for = {
"othernational" => [12],
}
@hidden_in_check_answers = {
"depends_on" => [
{
"national" => 12,
},
],
end
ANSWER_OPTIONS = {
@ -50,4 +50,14 @@ RSpec.describe Form::Sales::Questions::Nationality1, type: :model do
})
it "has correct hidden in check answers" do
expect(question.hidden_in_check_answers).to eq({