|
|
|
@ -48,11 +48,11 @@ RSpec.describe Form::Sales::Questions::Postcode, type: :model do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct inferred_check_answers_value" do |
|
|
|
it "has the correct inferred_check_answers_value" do |
|
|
|
expect(question.inferred_check_answers_value).to eq({ |
|
|
|
expect(question.inferred_check_answers_value).to eq([{ |
|
|
|
"condition" => { |
|
|
|
"condition" => { |
|
|
|
"pcodenk" => 1, |
|
|
|
"pcodenk" => 1, |
|
|
|
}, |
|
|
|
}, |
|
|
|
"value" => "Not known", |
|
|
|
"value" => "Not known", |
|
|
|
}) |
|
|
|
}]) |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|