Browse Source

Update copy

pull/1867/head
Kat 3 years ago
parent
commit
526cda3b7c
  1. 2
      config/locales/en.yml
  2. 2
      spec/models/validations/setup_validations_spec.rb

2
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:

2
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

Loading…
Cancel
Save