Test for empty state partial instead of index view

上级 85305061
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册