diff options
author | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 15:07:37 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2017-12-05 15:07:37 +0100 |
commit | fbe130e174bdc55b7d2be59bc1a5b7ed9ed7f8eb (patch) | |
tree | 55524af87031f08d584bacd0343d3da4eec7dacf /spec/controllers/projects/clusters_controller_spec.rb | |
parent | 85305061c9c4083065e0ea5e47858ef8f1ef351a (diff) | |
download | gitlab-ce-fbe130e174bdc55b7d2be59bc1a5b7ed9ed7f8eb.tar.gz |
Test for empty state partial instead of index view
Diffstat (limited to 'spec/controllers/projects/clusters_controller_spec.rb')
-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 9e467633972..3daa6f13b54 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_template(:index) + expect(response).to render_partial(:index) expect(assigns(:clusters)).to eq([]) end |