summaryrefslogtreecommitdiff
path: root/spec/requests
diff options
context:
space:
mode:
authorMatija Čupić <matteeyah@gmail.com>2018-02-04 19:26:54 +0100
committerMatija Čupić <matteeyah@gmail.com>2018-02-04 23:34:19 +0100
commit053b9d212b8cb39a6808dc5ccf8ea2c1cd5110fa (patch)
treee4642bb9eaf7aebdd837d611a9de7ec5949ecc59 /spec/requests
parent35e04fa5d9a24f012eaf2459e48dda990677f0da (diff)
downloadgitlab-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.rb2
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