Test for empty state partial instead of index view
This commit is contained in:
parent
85305061c9
commit
fbe130e174
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue