diff --git a/app/models/form/lettings/questions/joint.rb b/app/models/form/lettings/questions/joint.rb index b80856495..2542cd1c7 100644 --- a/app/models/form/lettings/questions/joint.rb +++ b/app/models/form/lettings/questions/joint.rb @@ -11,7 +11,7 @@ class Form::Lettings::Questions::Joint < ::Form::Question ANSWER_OPTIONS = { "1" => { "value" => "Yes" }, "2" => { "value" => "No" }, - "divider" => { "value" => "true" }, + "divider" => { "value" => true }, "3" => { "value" => "Don’t know" }, }.freeze diff --git a/spec/models/form/lettings/questions/joint_spec.rb b/spec/models/form/lettings/questions/joint_spec.rb index 2a10bc5cf..3dab69396 100644 --- a/spec/models/form/lettings/questions/joint_spec.rb +++ b/spec/models/form/lettings/questions/joint_spec.rb @@ -31,7 +31,7 @@ RSpec.describe Form::Lettings::Questions::Joint, type: :model do expect(question.answer_options).to eq({ "1" => { "value" => "Yes" }, "2" => { "value" => "No" }, - "divider" => { "value" => "true" }, + "divider" => { "value" => true }, "3" => { "value" => "Don’t know" }, }) end