Commit 384fd190 authored by Shinya Maeda's avatar Shinya Maeda

Change status number to ailias

parent fbd3b3d8
...@@ -263,7 +263,7 @@ describe API::PipelineSchedules do ...@@ -263,7 +263,7 @@ describe API::PipelineSchedules do
it 'does not delete pipeline_schedule' do it 'does not delete pipeline_schedule' do
delete api("/projects/#{project.id}/pipeline_schedules/#{pipeline_schedule.id}", developer) 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
end end
...@@ -271,7 +271,7 @@ describe API::PipelineSchedules do ...@@ -271,7 +271,7 @@ describe API::PipelineSchedules do
it 'does not delete pipeline_schedule' do it 'does not delete pipeline_schedule' do
delete api("/projects/#{project.id}/pipeline_schedules/#{pipeline_schedule.id}") 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 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