Commit graph

8 commits

Author SHA1 Message Date
blackst0ne
b44a2c801a Update specs to rails5 format
Updates specs to use new rails5 format.

The old format:
`get :show, { some: params }, { some: headers }`

The new format:
`get :show, params: { some: params }, headers: { some: headers }`
2018-12-19 10:04:31 +11:00
Jacopo
2f40dac352 Refactor have_http_status into have_gitlab_http_status in the specs 2017-10-20 10:13:18 +02:00
Rémy Coutable
3914af2f71 Use set in some API specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-19 16:26:20 +02:00
Robert Schilling
915dd57fe2 Add tests for the unmodified header 2017-08-28 17:10:34 +02: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
Robert Schilling
86c58687b2 Return 204 for delete endpoints 2017-02-28 08:32:38 +01:00
Robert Schilling
c70dfbc686 Add a custom pagination matcher 2017-02-16 15:38:40 +01:00
Robert Speicher
6a58af3a4a Add BroadcastMessage API implementation 2016-08-31 17:03:18 -03:00