Commit d1d16612 authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'kerrizor-fix-spec-description' into 'master'

Update  test description

See merge request gitlab-org/gitlab!23832
parents bd0c77a4 6fba2814
......@@ -1129,8 +1129,9 @@ describe Projects::IssuesController do
sign_in(user)
end
it "rejects a developer to destroy an issue" do
it "does not delete the issue, returning :not_found" do
delete :destroy, params: { namespace_id: project.namespace, project_id: project, id: issue.iid }
expect(response).to have_gitlab_http_status(:not_found)
end
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