expect(question.header).toeq("Was the household rehoused under a 'local authority nominations agreement'?")
end
it"has the correct check_answer_label"do
expect(question.check_answer_label).toeq("Household rehoused under a local authority nominations agreement?")
end
it"has the correct type"do
expect(question.type).toeq("radio")
end
it"is not marked as derived"do
expect(question.derived?).tobefalse
end
it"has the correct answer_options"do
expect(question.answer_options).toeq({
"1"=>{"value"=>"Yes"},
"2"=>{"value"=>"No"},
"3"=>{"value"=>"Don’t know"},
})
end
it"has correct conditional for"do
expect(question.conditional_for).toeq(nil)
end
it"has the correct hint"do
expect(question.hint_text).toeq("A local authority nominations agreement is a written agreement between a local authority and private registered provider (PRP) that some or all of its sales vacancies are offered to local authorities for rehousing")