diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-06-10 11:51:43 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-06-10 11:51:43 +0200 |
commit | edaaf6a5e9ac1d7ffa51488e122d1dbbf267ab33 (patch) | |
tree | e7b389ba7f0fbd64554ef5859fcaa464922c4e05 /spec/validators | |
parent | 3d841eba69b340aac4f012fb388f9e9761ec2ba5 (diff) | |
parent | a2871cd74719a7a5a104daaa3dcc0e2670b7c2df (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/validators')
-rw-r--r-- | spec/validators/url_validator_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/validators/url_validator_spec.rb b/spec/validators/url_validator_spec.rb index a44878a44..85eadeb63 100644 --- a/spec/validators/url_validator_spec.rb +++ b/spec/validators/url_validator_spec.rb @@ -19,7 +19,7 @@ RSpec.describe URLValidator, type: :validator do let(:compliant) { false } it 'calls errors.add' do - expect(errors).to have_received(:add).with(attribute, I18n.t('applications.invalid_url')) + expect(errors).to have_received(:add).with(attribute, :invalid) end end |