Commit 28fd49c1 authored by Matija Čupić's avatar Matija Čupić

Fix Redis leakage in Runner API specs

parent 126b6bbc
...@@ -8,6 +8,7 @@ describe API::Runner do ...@@ -8,6 +8,7 @@ describe API::Runner do
before do before do
stub_gitlab_calls stub_gitlab_calls
stub_application_setting(runners_registration_token: registration_token) stub_application_setting(runners_registration_token: registration_token)
allow_any_instance_of(Ci::Runner).to receive(:update_runner_info_cache)
end end
describe '/api/v4/runners' do describe '/api/v4/runners' do
......
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