@ -3,6 +3,7 @@ class Form::Sales::Pages::Deposit < ::Form::Page
super(id, hsh, subsection)
@ownershipsch = ownershipsch
@optional = optional
@header = "About the deposit"
end
def questions
@ -2,6 +2,7 @@ class Form::Sales::Pages::Discount < ::Form::Page
def initialize(id, hsh, subsection, optional:)
@ -2,6 +2,7 @@ class Form::Sales::Pages::Equity < ::Form::Page
def initialize(id, hsh, subsection)
super
@id = "equity"
@header = "About the price of the property"
@ -2,6 +2,7 @@ class Form::Sales::Pages::ValueSharedOwnership < ::Form::Page
@id = "value_shared_ownership"
@ -24,7 +24,7 @@ RSpec.describe Form::Sales::Pages::Deposit, type: :model do
it "has the correct header" do
expect(page.header).to be_nil
expect(page.header).to eq("About the deposit")
it "has the correct description" do
@ -24,7 +24,7 @@ RSpec.describe Form::Sales::Pages::Discount, type: :model do
@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Pages::Equity, type: :model do
expect(page.header).to eq("About the price of the property")
@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Pages::ValueSharedOwnership, type: :model do