|
|
|
@ -30,7 +30,7 @@ RSpec.describe SendSubmissionCompletedWebhookRequestJob do
|
|
|
|
}.deep_stringify_keys),
|
|
|
|
}.deep_stringify_keys),
|
|
|
|
headers: {
|
|
|
|
headers: {
|
|
|
|
'Content-Type' => 'application/json',
|
|
|
|
'Content-Type' => 'application/json',
|
|
|
|
'User-Agent' => 'DocuSeal.co Webhook'
|
|
|
|
'User-Agent' => 'DocuSeal.com Webhook'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
).once
|
|
|
|
).once
|
|
|
|
end
|
|
|
|
end
|
|
|
|
@ -47,7 +47,7 @@ RSpec.describe SendSubmissionCompletedWebhookRequestJob do
|
|
|
|
}.deep_stringify_keys),
|
|
|
|
}.deep_stringify_keys),
|
|
|
|
headers: {
|
|
|
|
headers: {
|
|
|
|
'Content-Type' => 'application/json',
|
|
|
|
'Content-Type' => 'application/json',
|
|
|
|
'User-Agent' => 'DocuSeal.co Webhook',
|
|
|
|
'User-Agent' => 'DocuSeal.com Webhook',
|
|
|
|
'X-Secret-Header' => 'secret_value'
|
|
|
|
'X-Secret-Header' => 'secret_value'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
).once
|
|
|
|
).once
|
|
|
|
|