Commit 6fba2814 authored by Kerri Miller's avatar Kerri Miller

Update test description

parent 3925fdf0
...@@ -1129,8 +1129,9 @@ describe Projects::IssuesController do ...@@ -1129,8 +1129,9 @@ describe Projects::IssuesController do
sign_in(user) sign_in(user)
end 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 } delete :destroy, params: { namespace_id: project.namespace, project_id: project, id: issue.iid }
expect(response).to have_gitlab_http_status(:not_found) expect(response).to have_gitlab_http_status(:not_found)
end end
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