Browse Source

Fix linting

pull/2779/head
Rachael Booth 7 months ago
parent
commit
13f80e7ac7
  1. 2
      spec/models/form/sales/subsections/household_characteristics_spec.rb
  2. 4
      spec/models/form/sales/subsections/income_benefits_and_savings_spec.rb

2
spec/models/form/sales/subsections/household_characteristics_spec.rb

@ -391,7 +391,7 @@ RSpec.describe Form::Sales::Subsections::HouseholdCharacteristics, type: :model
working_situation_6_not_retired_value_check working_situation_6_not_retired_value_check
working_situation_6_student_not_child_value_check working_situation_6_student_not_child_value_check
], ],
) )
end end
end end

4
spec/models/form/sales/subsections/income_benefits_and_savings_spec.rb

@ -15,7 +15,7 @@ RSpec.describe Form::Sales::Subsections::IncomeBenefitsAndSavings, type: :model
let(:section) { instance_double(Form::Sales::Sections::Household, form:) } let(:section) { instance_double(Form::Sales::Sections::Household, form:) }
context "when before 2025" do context "when before 2025" do
let(:form) { instance_double(Form, start_date: Time.utc(2024, 4, 1), start_year_2025_or_later?: false)} let(:form) { instance_double(Form, start_date: Time.utc(2024, 4, 1), start_year_2025_or_later?: false) }
it "has correct pages" do it "has correct pages" do
expect(subsection.pages.map(&:id)).to eq( expect(subsection.pages.map(&:id)).to eq(
@ -51,7 +51,7 @@ RSpec.describe Form::Sales::Subsections::IncomeBenefitsAndSavings, type: :model
end end
context "when 2025" do context "when 2025" do
let(:form) { instance_double(Form, start_date: Time.utc(2025, 4, 1), start_year_2025_or_later?: true)} let(:form) { instance_double(Form, start_date: Time.utc(2025, 4, 1), start_year_2025_or_later?: true) }
it "has correct pages" do it "has correct pages" do
expect(subsection.pages.map(&:id)).to eq( expect(subsection.pages.map(&:id)).to eq(

Loading…
Cancel
Save