Fix runner cache update stub in API spec
This commit is contained in:
parent
35e04fa5d9
commit
053b9d212b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue