diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-02-04 19:26:54 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-02-04 23:34:19 +0100 |
commit | 053b9d212b8cb39a6808dc5ccf8ea2c1cd5110fa (patch) | |
tree | e4642bb9eaf7aebdd837d611a9de7ec5949ecc59 /spec/requests | |
parent | 35e04fa5d9a24f012eaf2459e48dda990677f0da (diff) | |
download | gitlab-ce-053b9d212b8cb39a6808dc5ccf8ea2c1cd5110fa.tar.gz |
Fix runner cache update stub in API spec
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/runner_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/runner_spec.rb b/spec/requests/api/runner_spec.rb index 25d1ac73b9e..ea5054a3c9e 100644 --- a/spec/requests/api/runner_spec.rb +++ b/spec/requests/api/runner_spec.rb @@ -8,7 +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) + allow_any_instance_of(Ci::Runner).to receive(:cache_attributes) end describe '/api/v4/runners' do |