Add administrative webhooks (#18510)
* Add administrative webhooks * Fix error when webhook is deleted before delivery worker runs
This commit is contained in:
1 parent
17ba5e1e61
commit
a2871cd747
33 files changed
+530
-8
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user