Commit fbe130e1 authored by Matija Čupić's avatar Matija Čupić

Test for empty state partial instead of index view

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment