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
Mark Chao
a63bce1a4b Resolve "Rename the Master role to Maintainer" Backend 2018-07-11 14:36:08 +00:00
James Edwards-Jones
b6a4c0181b API uses ProtectedBranchPolicy for destroy/create 2018-03-26 10:29:53 +01:00
Mark Fletcher
5a160b05ed Fix protected branches API to accept name parameter with dot 2018-01-19 20:07:44 +00:00
James Edwards-Jones
1d47ae1365 CE backport of ProtectedBranches API changes
In EE we now allow individual users/groups to be set on POST, which required some refactoring.
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3516
2017-12-07 11:58:50 +00:00
Robert Schilling
915dd57fe2 Add tests for the unmodified header 2017-08-28 17:10:34 +02:00
Robert Speicher
4edfad9678 Enable Layout/TrailingWhitespace cop and auto-correct offenses 2017-08-15 13:44:37 -04:00
Eric
fb5b2d8d0e Extending API for protected branches 2017-08-02 10:16:17 +00:00