Fix runner cache update stub in API spec

This commit is contained in:
Matija Čupić 2018-02-04 19:26:54 +01:00
parent 35e04fa5d9
commit 053b9d212b
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -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