Fix overwritten project.cluster replacement
This commit is contained in:
parent
6a3372649a
commit
f81503a061
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ describe Projects::ClustersController do
|
|||
go
|
||||
|
||||
cluster.reload
|
||||
expect(response).to redirect_to(project_cluster_path(project, project.cluster))
|
||||
expect(response).to redirect_to(project_cluster_path(project, cluster))
|
||||
expect(flash[:notice]).to eq('Cluster was successfully updated.')
|
||||
expect(cluster.enabled).to be_falsey
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue