|
|
|
|
@ -5,7 +5,7 @@ RSpec.describe Form::Sales::Pages::ValueSharedOwnership, type: :model do
|
|
|
|
|
|
|
|
|
|
let(:page_id) { "value_shared_ownership" } |
|
|
|
|
let(:page_definition) { nil } |
|
|
|
|
let(:subsection) { instance_double(Form::Subsection, form: instance_double(Form, start_date: Time.zone.local(2023, 4, 1), start_year_2026_or_later?: false), id: "shared_ownership") } |
|
|
|
|
let(:subsection) { instance_double(Form::Subsection, form: instance_double(Form, start_date: Time.zone.local(2023, 4, 1), start_year_2025_or_later?: true, start_year_2026_or_later?: false), id: "shared_ownership") } |
|
|
|
|
|
|
|
|
|
before do |
|
|
|
|
allow(page.subsection.form).to receive(:start_year_2025_or_later?).and_return(false) |
|
|
|
|
|