Test for empty state partial instead of index view

This commit is contained in:
Matija Čupić 2017-12-05 15:07:37 +01:00
parent 85305061c9
commit fbe130e174
No known key found for this signature in database
GPG Key ID: 4BAF84FFACD2E5DE
1 changed files with 1 additions and 1 deletions

View File

@ -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