Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-02-20 05:49:35 +0300
committerDylan Griffith <dyl.griffith@gmail.com>2018-02-20 05:49:35 +0300
commit3d3d09fa9d0ea81f0e20037f64bd43b0cd1e5891 (patch)
tree37f859e6c9a857d7173a9a49aec6645fed89293e /spec/controllers
parentba4114d25f538d198df2f681b9cb08567494207e (diff)
Schedule Ingress IP address fetch from K8s after clusters page load (#42643)
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/clusters_controller_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/controllers/projects/clusters_controller_spec.rb b/spec/controllers/projects/clusters_controller_spec.rb
index 954fc79f57d..617c1471239 100644
--- a/spec/controllers/projects/clusters_controller_spec.rb
+++ b/spec/controllers/projects/clusters_controller_spec.rb
@@ -91,6 +91,12 @@ describe Projects::ClustersController do
expect(response).to have_gitlab_http_status(:ok)
expect(response).to match_response_schema('cluster_status')
end
+
+ it 'invokes sync_details on each application' do
+ expect_any_instance_of(Clusters::Applications::Ingress).to receive(:sync_details)
+
+ go
+ end
end
describe 'security' do