Skip to content

Commit 80a5fd3

Browse files
committed
CAPI logs should for request complete should include the response time
Fix Indentation
1 parent 3269963 commit 80a5fd3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ module VCAP::CloudController::Logs
4747

4848
it 'logs the completion of the request' do
4949
request_logs.complete_request(request_id, status, env, time_taken)
50-
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
56-
)
50+
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
56+
)
5757
end
5858
end
5959

0 commit comments

Comments
 (0)