diff options
Diffstat (limited to 'spec/features/clusters')
-rw-r--r-- | spec/features/clusters/create_agent_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/clusters/create_agent_spec.rb b/spec/features/clusters/create_agent_spec.rb index 79eaecdf582..960d5c78d43 100644 --- a/spec/features/clusters/create_agent_spec.rb +++ b/spec/features/clusters/create_agent_spec.rb @@ -17,7 +17,7 @@ RSpec.describe 'Cluster agent registration', :js, feature_category: :deployment_ 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([]) + allow(client).to receive(:get_connected_agents_by_agent_ids).and_return([]) end allow(Devise).to receive(:friendly_token).and_return(token) |