diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-18 12:45:46 +0300 |
commit | a7b3560714b4d9cc4ab32dffcd1f74a284b93580 (patch) | |
tree | 7452bd5c3545c2fa67a28aa013835fb4fa071baf /spec/features/clusters | |
parent | ee9173579ae56a3dbfe5afe9f9410c65bb327ca7 (diff) |
Add latest changes from gitlab-org/gitlab@14-8-stable-eev14.8.0-rc42
Diffstat (limited to 'spec/features/clusters')
-rw-r--r-- | spec/features/clusters/create_agent_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/clusters/create_agent_spec.rb b/spec/features/clusters/create_agent_spec.rb index 7ed31a8c549..e03126d344e 100644 --- a/spec/features/clusters/create_agent_spec.rb +++ b/spec/features/clusters/create_agent_spec.rb @@ -15,6 +15,7 @@ RSpec.describe 'Cluster agent registration', :js do double(agent_name: 'example-agent-1', path: '.gitlab/agents/example-agent-1/config.yaml'), double(agent_name: 'example-agent-2', path: '.gitlab/agents/example-agent-2/config.yaml') ]) + allow(client).to receive(:get_connected_agents).and_return([]) end allow(Devise).to receive(:friendly_token).and_return('example-agent-token') |