Skip to content

Commit 1472a0a

Browse files
committed
CAPI logs should for request complete should include the response time
Fix indentation
1 parent 80a5fd3 commit 1472a0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/unit/lib/cloud_controller/logs/request_logs_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ module VCAP::CloudController::Logs
4848
it 'logs the completion of the request' do
4949
request_logs.complete_request(request_id, status, env, time_taken)
5050
expect(logger).to have_received(:info).with(
51-
/\ACompleted 200 vcap-request-id: ID/,
52-
time_taken_in_ms: 30,
53-
request_method: 'request_method',
54-
request_fullpath: 'filtered_path',
55-
status_code: 200
51+
/\ACompleted 200 vcap-request-id: ID/,
52+
time_taken_in_ms: 30,
53+
request_method: 'request_method',
54+
request_fullpath: 'filtered_path',
55+
status_code: 200
5656
)
5757
end
5858
end

0 commit comments

Comments
 (0)