Commit graph

19 commits

Author SHA1 Message Date
Rémy Coutable
c946ee1282
Enable the Layout/SpaceBeforeBlockBraces cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-09 11:52:22 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Lin Jen-Shin
01960fce25 Fix optional args for POST :id/variables
Always use declared_params(include_missing: false)
so that we don't give nils for optional arguments
2017-06-27 15:20:11 +08:00
Lin Jen-Shin
9cc918a5ca Use be_truthy and add back missing link 2017-05-26 15:35:30 +08:00
Lin Jen-Shin
bd66bf08b5 API and doc for protected variables 2017-05-25 19:49:46 +08: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
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
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
tiagonbotelho
1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Z.J. van de Weg
abca19da8b Use HTTP matchers if possible 2016-06-27 20:10:42 +02:00
Robert Speicher
de944c914b Add traits for each access_level to ProjectMember factory 2016-03-06 16:53:22 -05:00
Tomasz Maczukin
3b7f34281e Modify :ci_variable factory 2016-01-13 19:57:23 +01:00
Tomasz Maczukin
b60c146267 Change :variable_id to :key as resource ID in API 2016-01-07 13:49:38 +01:00
Tomasz Maczukin
937567b767 Add create feature to variables API 2015-12-31 22:30:07 +01:00
Tomasz Maczukin
c5177dd5e2 Add missing 'not_found' checks in variables API 2015-12-31 17:03:11 +01:00
Tomasz Maczukin
0d014feb1d Add delete feature to variables API 2015-12-31 16:56:03 +01:00
Tomasz Maczukin
a692ce1c07 Add update feature for variables API 2015-12-31 16:26:55 +01:00
Tomasz Maczukin
ea4777ff50 Add features for list and show details of variables in API 2015-12-31 16:26:54 +01:00