Browse Source

Update model test

pull/2760/head
Manny Dinssa 2 years ago
parent
commit
8e5d0c21ea
  1. 2
      spec/models/form/sales/subsections/property_information_spec.rb

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

@ -15,6 +15,7 @@ RSpec.describe Form::Sales::Subsections::PropertyInformation, type: :model do
before do
allow(form).to receive(:start_year_2024_or_later?).and_return(false)
allow(form).to receive(:start_year_2025_or_later?).and_return(false)
end
context "when 2023" do
@ -48,6 +49,7 @@ RSpec.describe Form::Sales::Subsections::PropertyInformation, type: :model do
before do
allow(form).to receive(:start_year_2024_or_later?).and_return(true)
allow(form).to receive(:start_year_2025_or_later?).and_return(false)
end
it "has correct pages" do

Loading…
Cancel
Save