summaryrefslogtreecommitdiff
path: root/spec/features/projects/clusters/user_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/clusters/user_spec.rb')
-rw-r--r--spec/features/projects/clusters/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/clusters/user_spec.rb b/spec/features/projects/clusters/user_spec.rb
index 4bcced49326..31cc09ae911 100644
--- a/spec/features/projects/clusters/user_spec.rb
+++ b/spec/features/projects/clusters/user_spec.rb
@@ -12,7 +12,7 @@ describe 'User Cluster', :js do
allow(Projects::ClustersController).to receive(:STATUS_POLLING_INTERVAL) { 100 }
allow_any_instance_of(Clusters::Gcp::Kubernetes::CreateOrUpdateNamespaceService).to receive(:execute)
- allow(Clusters::VerifyService).to receive(:new).and_return(double(execute: :connected))
+ allow_any_instance_of(Clusters::Cluster).to receive(:retrieve_connection_status).and_return(:connected)
end
context 'when user does not have a cluster and visits cluster index page' do