Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
fcba2356
Commit
fcba2356
authored
Nov 01, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add spacing around yield
parent
53281e09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
spec/support/inspect_requests.rb
spec/support/inspect_requests.rb
+2
-0
No files found.
spec/support/inspect_requests.rb
View file @
fcba2356
...
@@ -6,7 +6,9 @@ module InspectRequests
...
@@ -6,7 +6,9 @@ module InspectRequests
def
inspect_requests
(
inject_headers:
{})
def
inspect_requests
(
inject_headers:
{})
Gitlab
::
Testing
::
RequestInspectorMiddleware
.
log_requests!
(
inject_headers
)
Gitlab
::
Testing
::
RequestInspectorMiddleware
.
log_requests!
(
inject_headers
)
yield
yield
block_and_wait_for_requests_complete
block_and_wait_for_requests_complete
Gitlab
::
Testing
::
RequestInspectorMiddleware
.
requests
Gitlab
::
Testing
::
RequestInspectorMiddleware
.
requests
ensure
ensure
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment