summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-11-01 16:15:16 -0500
committerMike Greiling <mike@pixelcog.com>2017-11-01 16:15:16 -0500
commitfcba23561aae0fd502b432d50a598c8b9d397651 (patch)
tree0487953686f09bb3084c3d6c5c51907381b976e7
parent53281e09e486acdca8c9ca9adba3bd4d4d50514a (diff)
downloadgitlab-ce-fcba23561aae0fd502b432d50a598c8b9d397651.tar.gz
add spacing around yield
-rw-r--r--spec/support/inspect_requests.rb2
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