Commit graph

17 commits

Author SHA1 Message Date
Shinya Maeda
33c284fa8c Separate parameters from literal url string 2017-05-03 02:11:51 +09:00
Shinya Maeda
98ac988d4d Use order instead of reorder. Improve tests. 2017-05-03 02:11:51 +09:00
Shinya Maeda
8f32724fcb Ci::Pipeline to project.pipelines 2017-05-03 02:11:51 +09:00
Shinya Maeda
f0e3076a32 'to be > 0' to 'not_to be_empty'. 'to eq(0)' to 'to be_empty' 2017-05-03 02:11:51 +09:00
Shinya Maeda
2e43e50e74 Finish pipelines_spec 2017-05-03 02:11:51 +09:00
Shinya Maeda
2075d7ce52 Unveil iteration 2017-05-03 02:11:51 +09:00
Shinya Maeda
959b4e99c0 Add spec for Pipeline API (Halfway) 2017-05-03 02:11:51 +09:00
Jacopo
ff76adb547 Unnecessary "include WaitForAjax" and "include ApiHelpers"
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs.
Removed unnecessary usage of `api:true`
2017-04-21 22:32:02 +02:00
Toon Claes
59e7d04bc7 Expose pipelines as PipelineBasic projects/:id/pipelines
The `projects/:id/pipelines` exposed a lot of extra details
that are superfluous and it was taking extra resources to fetch them.

To get more details about a pipeline, use
`projects/:id/pipelines/:pipeline_id`.
2017-03-03 09:52:04 +01:00
Robert Schilling
993c3d14d5 Remove shared example for pagination 2017-02-20 15:39:16 +01:00
Robert Speicher
9a31ecbef2 Use :empty_project where possible in request specs 2017-01-26 18:52:10 -05:00
Rémy Coutable
c8fb6f6f37 Merge branch 'update-api-spec-files' into 'master'
Update  API spec files to describe the correct class by changing `API::API` to the corresponding class, for example `API::AwardEmoji`.

Closes #24902

See merge request !7718
2016-12-02 09:38:11 +00:00
Livier
eb4f15571d Changed API spec files to describe the correct class
Restore changes for api spec files

Fix error in rspec Users

Delete extra space Repositories-spec
2016-11-28 10:55:27 -07:00
Z.J. van de Weg
40e8185b64 Expose coverage on GET pipelines/:id
The coverage wasn't exposed yet, now it is but only for detailed
requests to save queries on the database.
2016-11-25 15:49:59 +01:00
Ido Leibovich
fbfc7523cb Add api endpoint for creating a pipeline
Add a new endpoint in the new API for creating a new pipeline, and return the details of that pipeline.
2016-11-18 23:12:21 +02:00
Z.J. van de Weg
df5661b6f4 Add docs on API for pipelines, plus minor fixes 2016-08-18 16:56:39 +02:00
Z.J. van de Weg
de7b8e51b8 Add endpoints for pipelines 2016-08-18 16:56:39 +02:00