Change status number to ailias
This commit is contained in:
parent
fbd3b3d8a2
commit
384fd190e5
1 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ describe API::PipelineSchedules do
|
|||
it 'does not delete pipeline_schedule' do
|
||||
delete api("/projects/#{project.id}/pipeline_schedules/#{pipeline_schedule.id}", developer)
|
||||
|
||||
expect(response).to have_http_status(403)
|
||||
expect(response).to have_http_status(:forbidden)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -271,7 +271,7 @@ describe API::PipelineSchedules do
|
|||
it 'does not delete pipeline_schedule' do
|
||||
delete api("/projects/#{project.id}/pipeline_schedules/#{pipeline_schedule.id}")
|
||||
|
||||
expect(response).to have_http_status(401)
|
||||
expect(response).to have_http_status(:unauthorized)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue