@ -3,9 +3,6 @@ class Form::Sales::Pages::PrivacyNotice < ::Form::Page
super
@id = "privacy_notice"
@header = "Department for Levelling Up, Housing and Communities privacy notice"
@depends_on = [{
"noint" => 2,
}]
end
def questions
@ -28,6 +28,6 @@ RSpec.describe Form::Sales::Pages::PrivacyNotice, type: :model do
it "has correct depends_on" do
expect(page.depends_on).to eq([{ "noint" => 2 }])
expect(page.depends_on).to be_nil