Merge branch 'main' into glitch-soc/merge-upstream

This commit is contained in:
Claire
2022-06-10 11:51:43 +02:00
156 changed files with 1768 additions and 156 deletions

View File

@@ -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