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