Skip to content

Commit c67d2b3

Browse files
committed
di add content-type assertion
1 parent 399be05 commit c67d2b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/datadog/di/integration/probe_notifier_worker_spec.rb

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
end
4747

4848
http_server.mount_proc('/debugger/v1/input') do |req, res|
49+
expect(req.content_type).to eq('application/json')
4950
payload = JSON.parse(req.body)
5051
input_payloads << payload
5152
end

0 commit comments

Comments
 (0)