diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-20 13:49:35 +1100 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2018-02-20 13:49:35 +1100 |
commit | 3d3d09fa9d0ea81f0e20037f64bd43b0cd1e5891 (patch) | |
tree | 37f859e6c9a857d7173a9a49aec6645fed89293e /spec/controllers/projects | |
parent | ba4114d25f538d198df2f681b9cb08567494207e (diff) | |
download | gitlab-ce-3d3d09fa9d0ea81f0e20037f64bd43b0cd1e5891.tar.gz |
Schedule Ingress IP address fetch from K8s after clusters page load (#42643)
Diffstat (limited to 'spec/controllers/projects')
-rw-r--r-- | spec/controllers/projects/clusters_controller_spec.rb | 6 |
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 |