@ -5,6 +5,9 @@ class Form::Sales::Pages::PreviousBedrooms < ::Form::Page
@header = "About the buyers’ previous property"
@description = ""
@subsection = subsection
@depends_on = [{
"soctenant" => 1,
}]
end
def questions
@ -28,6 +28,8 @@ RSpec.describe Form::Sales::Pages::PreviousBedrooms, type: :model do
it "has correct depends_on" do
expect(page.depends_on).to be_nil
expect(page.depends_on).to eq([{
}])