summaryrefslogtreecommitdiff
path: root/spec/requests/api/keys_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-201-3/+3
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-3/+1
|
* Merge branch '29903-remove-user-is-admin-flag-from-api' into 'master' Sean McGivern2017-04-251-0/+6
|\ | | | | | | | | | | | | Don't display the `is_admin?` flag for user API responses Closes #29903 See merge request !10846
| * Don't display the `is_admin?` flag for user API responses.Timothy Andrew2017-04-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | - To prevent an attacker from enumerating the `/users` API to get a list of all the admins. - Display the `is_admin?` flag wherever we display the `private_token` - at the moment, there are two instances: - When an admin uses `sudo` to view the `/user` endpoint - When logging in using the `/session` endpoint
* | Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo2017-04-211-3/+1
|/ | | | | Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
* Changed API spec files to describe the correct classLivier2016-11-281-1/+1
| | | | | | | | Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
* adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-3/+3
|
* Use HTTP matchers if possibleZ.J. van de Weg2016-06-271-3/+3
|
* Add API method for get user by ID of an SSH keyArtem V. Navrotskiy2015-09-031-0/+39