@ -5,15 +5,11 @@ class Form::Sales::Pages::JointPurchase < ::Form::Page
@header = ""
@description = ""
@subsection = subsection
@depends_on = [{
"ownershipsch" => 1,
},
{
"ownershipsch" => 2,
"companybuy" => 2,
}]
@depends_on = [
{ "ownershipsch" => 1 },
{ "ownershipsch" => 2 },
{ "companybuy" => 2 },
]
end
def questions
@ -28,14 +28,10 @@ RSpec.describe Form::Sales::Pages::JointPurchase, type: :model do
it "has correct depends_on" do
expect(page.depends_on).to eq([{
}])
expect(page.depends_on).to eq([
])