Update after review

This commit is contained in:
Kamil Trzcinski 2017-03-06 11:48:33 +01:00
parent 16897d32d2
commit 01f99bd269
No known key found for this signature in database
GPG key ID: 4505F5C7E12C6A5A
3 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1 @@
This document was moved to [Pipeline Triggers](pipeline_triggers.md).

View file

@ -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`

View file

@ -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)