Update after review
This commit is contained in:
parent
16897d32d2
commit
01f99bd269
3 changed files with 5 additions and 1 deletions
1
doc/api/build_triggers.md
Normal file
1
doc/api/build_triggers.md
Normal file
|
@ -0,0 +1 @@
|
|||
This document was moved to [Pipeline Triggers](pipeline_triggers.md).
|
|
@ -59,3 +59,6 @@ changes are in V4:
|
|||
- Return 202 with JSON body on async removals on V4 API (DELETE `/projects/:id/repository/merged_branches` and DELETE `/projects/:id`) [!9449](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9449)
|
||||
- `projects/:id/milestones?iid[]=x&iid[]=y` array filter has been renamed to `iids` [!9096](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9096)
|
||||
- Return basic info about pipeline in `GET /projects/:id/pipelines` [!8875](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8875)
|
||||
- Rename Build Triggers to be Pipeline Triggers API [!9713](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9713)
|
||||
- `POST /projects/:id/trigger/builds` to `POST /projects/:id/trigger/pipeline`
|
||||
- Require description when creating a new trigger `POST /projects/:id/triggers`
|
||||
|
|
|
@ -180,7 +180,7 @@ describe API::Triggers do
|
|||
end
|
||||
|
||||
context 'without required parameters' do
|
||||
it 'creates trigger' do
|
||||
it 'does not create trigger' do
|
||||
post api("/projects/#{project.id}/triggers", user)
|
||||
|
||||
expect(response).to have_http_status(:bad_request)
|
||||
|
|
Loading…
Reference in a new issue