blackst0ne
27c95364b5
Replace '.team << [user, role]' with 'add_role(user)' in specs
2017-12-22 19:18:28 +11:00
Jacopo
2f40dac352
Refactor have_http_status
into have_gitlab_http_status
in the specs
2017-10-20 10:13:18 +02:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Grzegorz Bizon
2a1130343a
Improve pipelines API specs related to special parameters
2017-05-29 10:25:48 +02:00
Stan Hu
393f24ad8c
Simplify pipeline spec by using order instead of sort_by
2017-05-28 23:41:29 -07:00
Stan Hu
af04113135
Fix failing spec in spec/requests/api/pipelines_spec.rb
...
The spec was trying to sort pipelines by user ID, but the same user ID
was being used for each pipeline in the spec.
Closes #33001
2017-05-28 23:25:52 -07:00
Shinya Maeda
0aebc829ad
Correct typo in pipelines_spec.rb
2017-05-03 02:11:51 +09:00
Shinya Maeda
0a36bfa994
Use HasStatus::AVAILABLE_STATUSES instead of hard coding
2017-05-03 02:11:51 +09:00
Shinya Maeda
fda48d3091
Improve api/pipelines_spec.rb
2017-05-03 02:11:51 +09:00
Shinya Maeda
673693888a
Remove unnecessary hash
2017-05-03 02:11:51 +09:00
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