Commit graph

21 commits

Author SHA1 Message Date
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
Douwe Maan
a019369409 Expose avatar_url when requesting list of projects from API with simple=true 2017-09-26 12:47:48 +02:00
Robert Schilling
915dd57fe2 Add tests for the unmodified header 2017-08-28 17:10:34 +02:00
Tony
3c8b2ae168 Expose more attributes to unauthenticated GET /projects/:id 2017-08-03 16:42:11 +03:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04: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
Oswaldo Ferreira
fa0c0bb006 Narrow environment payload by using basic project details resource 2017-03-06 14:00:38 -03:00
Toon Claes
ed8f13c745 Ensure v3 environments endpoints remain unchanged
Because environments also expose the project, ensure the projects are
exposed as they were before in API v3.
2017-03-02 12:15:24 +01:00
Toon Claes
8c569e21d5 Add environment /stop action
Add endpoint to stop an environment through the API.
2017-02-28 15:34:38 +01:00
Robert Schilling
86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Robert Schilling
993c3d14d5 Remove shared example for pagination 2017-02-20 15:39:16 +01:00
Robert Schilling
c70dfbc686 Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
Rémy Coutable
9c560b5cdf
Replace many :project with :empty_projects in API specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-17 11:41:27 -05:00
Nick Thomas
93a03cd92f Add an environment slug 2016-12-15 13:57:03 +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
39c71a19c4 Expose project for environments 2016-08-18 21:10:52 +02:00
Z.J. van de Weg
34c1c8a3b1 Minor fixes in the Env API endpoints 2016-08-01 08:42:09 +02:00
Z.J. van de Weg
1b72256fa1 Use Grape DSL for environment endpoints
Also a couple of minor edits for this branch are included
2016-07-29 20:35:38 +02:00
Z.J. van de Weg
76e9b68439 Incorporate feedback 2016-07-29 13:54:45 +02:00
Z.J. van de Weg
84cd212095 Add API support for environments 2016-07-29 13:54:45 +02:00