From 82c8428242e0280ea8f8864cf2fc47ad69a94bf5 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 24 Aug 2023 15:39:27 +0100 Subject: [PATCH] tests --- spec/models/form/lettings/questions/location_id_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/form/lettings/questions/location_id_spec.rb b/spec/models/form/lettings/questions/location_id_spec.rb index ba3358e02..f31e16806 100644 --- a/spec/models/form/lettings/questions/location_id_spec.rb +++ b/spec/models/form/lettings/questions/location_id_spec.rb @@ -130,8 +130,8 @@ RSpec.describe Form::Lettings::Questions::LocationId, type: :model do context "and some locations are not confirmed" do before do - FactoryBot.create(:location, scheme:, postcode: nil) FactoryBot.create(:location, scheme:) + FactoryBot.create(:location, :incomplete, scheme:) lettings_log.update!(scheme:) end