diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-01-29 23:31:34 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-01-29 23:31:34 +0100 |
commit | 28fd49c1d23f18692b74e4f4e1f21c24c45da3e6 (patch) | |
tree | e874d86e395f6f61b9f574bdd404511a5319eba0 /spec | |
parent | 126b6bbc7fdeb1afd5b6d29c86051c48a09c4857 (diff) | |
download | gitlab-ce-28fd49c1d23f18692b74e4f4e1f21c24c45da3e6.tar.gz |
Fix Redis leakage in Runner API specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb index cb66d23b77c..25d1ac73b9e 100644 --- a/spec/requests/api/runner_spec.rb +++ b/spec/requests/api/runner_spec.rb @@ -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 |