Commit 72a3bd55 authored by Stan Hu's avatar Stan Hu

Merge branch 'rachelfox-master-patch-30050' into 'master'

fix exists to exist

See merge request gitlab-org/gitlab!29849
parents 3b744ed1 180d25f6
......@@ -24,13 +24,13 @@ describe API::ProjectMilestones do
project.add_reporter(reporter)
end
it 'returns 404 response when the project does not exists' do
it 'returns 404 response when the project does not exist' do
delete api("/projects/0/milestones/#{milestone.id}", user)
expect(response).to have_gitlab_http_status(:not_found)
end
it 'returns 404 response when the milestone does not exists' do
it 'returns 404 response when the milestone does not exist' do
delete api("/projects/#{project.id}/milestones/0", user)
expect(response).to have_gitlab_http_status(:not_found)
......
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