Commit a02c0a1b authored by Maja Komel's avatar Maja Komel

Fix typo in method name

parent 0ddeea1d
......@@ -34,14 +34,14 @@ module WaitForRequests
# Wait for active Rack requests and client-side AJAX requests
def wait_for_all_requests
wait_for('pending requests complete') do
finished_all_rack_reqiests? &&
finished_all_rack_requests? &&
finished_all_js_requests?
end
end
private
def finished_all_rack_reqiests?
def finished_all_rack_requests?
Gitlab::Testing::RequestBlockerMiddleware.num_active_requests.zero?
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment