about summary refs log tree commit diff
path: root/spec/validators
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-06-10 11:51:43 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-06-10 11:51:43 +0200
commitedaaf6a5e9ac1d7ffa51488e122d1dbbf267ab33 (patch)
treee7b389ba7f0fbd64554ef5859fcaa464922c4e05 /spec/validators
parent3d841eba69b340aac4f012fb388f9e9761ec2ba5 (diff)
parenta2871cd74719a7a5a104daaa3dcc0e2670b7c2df (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/validators')
-rw-r--r--spec/validators/url_validator_spec.rb2
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