Browse Source

CLDC-1980: add new required args to page specs

pull/3172/head
Nat Dean-Lewis 1 week ago
parent
commit
5feb06b6cc
  1. 2
      spec/models/form/sales/pages/housing_benefits_spec.rb

2
spec/models/form/sales/pages/housing_benefits_spec.rb

@ -5,7 +5,7 @@ RSpec.describe Form::Sales::Pages::HousingBenefits, type: :model do
let(:page_id) { "provided_id" }
let(:page_definition) { nil }
let(:subsection) { instance_double(Form::Subsection, form: instance_double(Form, start_date: Time.zone.local(2023, 4, 1))) }
let(:subsection) { instance_double(Form::Subsection, form: instance_double(Form, start_date: Time.zone.local(2023, 4, 1), start_year_2026_or_later?: false)) }
let(:joint_purchase) { false }
it "has correct subsection" do

Loading…
Cancel
Save