diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-11-01 16:15:16 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-11-01 16:15:16 -0500 |
commit | fcba23561aae0fd502b432d50a598c8b9d397651 (patch) | |
tree | 0487953686f09bb3084c3d6c5c51907381b976e7 | |
parent | 53281e09e486acdca8c9ca9adba3bd4d4d50514a (diff) | |
download | gitlab-ce-fcba23561aae0fd502b432d50a598c8b9d397651.tar.gz |
add spacing around yield
-rw-r--r-- | spec/support/inspect_requests.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/inspect_requests.rb b/spec/support/inspect_requests.rb index b3ddb245062..e121a1078f4 100644 --- a/spec/support/inspect_requests.rb +++ b/spec/support/inspect_requests.rb @@ -6,7 +6,9 @@ module InspectRequests def inspect_requests(inject_headers: {}) Gitlab::Testing::RequestInspectorMiddleware.log_requests!(inject_headers) + yield + block_and_wait_for_requests_complete Gitlab::Testing::RequestInspectorMiddleware.requests ensure |