diff --git a/config/locales/en.yml b/config/locales/en.yml index 3ee86b7f0..4307158e2 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -306,7 +306,7 @@ en: general_needs_mismatch: Lettings type must be a general needs type because you selected general needs when uploading the file supported_housing_mismatch: Lettings type must be a supported housing type because you selected supported housing when uploading the file location: - incomplete: "This location is incomplete" + incomplete: "This location is incomplete. Select another location or update this one" property: uprn: diff --git a/spec/models/validations/setup_validations_spec.rb b/spec/models/validations/setup_validations_spec.rb index 249c16487..75b890b24 100644 --- a/spec/models/validations/setup_validations_spec.rb +++ b/spec/models/validations/setup_validations_spec.rb @@ -650,7 +650,7 @@ RSpec.describe Validations::SetupValidations do record.location = location setup_validator.validate_location(record) expect(record.errors["location_id"]) - .to include("This location is incomplete") + .to include("This location is incomplete. Select another location or update this one") end it "produces no error when location is completes" do