Fix Redis leakage in Runner API specs

This commit is contained in:
Matija Čupić 2018-01-29 23:31:34 +01:00
parent 126b6bbc7f
commit 28fd49c1d2
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ describe API::Runner do
before do
stub_gitlab_calls
stub_application_setting(runners_registration_token: registration_token)
allow_any_instance_of(Ci::Runner).to receive(:update_runner_info_cache)
end
describe '/api/v4/runners' do