diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 15:26:37 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 15:26:37 +0100 |
commit | 6a3372649a62561e6e10c3fdd36f014d35dd0ba6 (patch) | |
tree | 32214d8c5c0ec8c0422796dbc135a62bd0f1f574 /spec | |
parent | d9819cb0f0777641582a8f104a058f7621d2b4c8 (diff) | |
download | gitlab-ce-6a3372649a62561e6e10c3fdd36f014d35dd0ba6.tar.gz |
Fix empty state partial check
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects/clusters_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects/clusters_controller_spec.rb b/spec/controllers/projects/clusters_controller_spec.rb index f66a31edfa4..cc496e0cce1 100644 --- a/spec/controllers/projects/clusters_controller_spec.rb +++ b/spec/controllers/projects/clusters_controller_spec.rb @@ -72,7 +72,7 @@ describe Projects::ClustersController do go expect(response).to have_gitlab_http_status(:ok) - expect(response).to render_partial(:index) + expect(response).to render_template(:index, partial: :empty_state) expect(assigns(:clusters)).to eq([]) end |