add webhook events

This commit is contained in:
Alex Turchyn authored and Pete Matsyburka committed 2025-07-04 22:28:01 +03:00
1 parent 1b60b42428
commit 988a5361a6
54 files changed
+825 -160

No files matched your search

+2 -2
View File
@@ -175,9 +175,9 @@ RSpec.describe 'Webhook Settings' do
expect do
click_button 'Test Webhook'
end.to change(SendFormCompletedWebhookRequestJob.jobs, :size).by(1)
end.to change(SendTestWebhookRequestJob.jobs, :size).by(1)
args = SendFormCompletedWebhookRequestJob.jobs.last['args'].first
args = SendTestWebhookRequestJob.jobs.last['args'].first
expect(args['webhook_url_id']).to eq(webhook_url.id)
expect(args['submitter_id']).to eq(submitter.id)