@ -5,6 +5,9 @@ class Form::Sales::Pages::BuyerCompany < ::Form::Page
@header = ""
@description = ""
@subsection = subsection
@depends_on = [{
"ownershipsch" => 3,
}]
end
def questions
@ -26,4 +26,10 @@ RSpec.describe Form::Sales::Pages::BuyerCompany, type: :model do
it "has the correct description" do
expect(page.description).to eq("")
it "has correct depends_on" do
expect(page.depends_on).to eq([{
}])