Fix invalid postal code message
We were using the word "registered" in English as an equivalent of the Spanish word "empadronado". However, the term "registered" is very confusing because it might be understood as being registered in the CONSUL website. In the message, we're saying "cannot participate" in order to make the message consistent with the message regarding the required age.
This commit is contained in:
@@ -142,7 +142,7 @@ describe Verification::Residence do
|
||||
residence.postal_code = "28101"
|
||||
expect(residence).not_to be_valid
|
||||
expect(residence.errors.count).to eq 1
|
||||
expect(residence.errors[:postal_code]).to eq ["In order to be verified, you must be registered."]
|
||||
expect(residence.errors[:postal_code]).to eq ["Citizens from this postal code cannot participate"]
|
||||
end
|
||||
|
||||
it "allows any postal code when the setting is blank" do
|
||||
|
||||
Reference in New Issue
Block a user