|
|
|
@ -44,10 +44,6 @@ RSpec.describe Form::Lettings::Subsections::PropertyInformation, type: :model do |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
it "has the correct depends_on" do |
|
|
|
it "has the correct depends_on" do |
|
|
|
expect(property_information.depends_on).to eq([ |
|
|
|
expect(property_information.depends_on).to eq([{ "non_location_setup_questions_completed?" => true, "supported_housing_and_renewal?" => false }]) |
|
|
|
{ |
|
|
|
|
|
|
|
"non_location_setup_questions_completed?" => true, |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
]) |
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
end |
|
|
|
|