summaryrefslogtreecommitdiff
path: root/spec/controllers/google_api
Commit message (Collapse)AuthorAgeFilesLines
* Add some frozen string to spec/**/*.rbgfyoung2019-04-151-0/+2
| | | | | | | | | | Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Validate session key when authorizing with GCP to create a clusterTiger2019-02-191-19/+41
| | | | | | | | | | It was previously possible to link a GCP account to another user's GitLab account by having them visit the callback URL, as there was no check that they were the initiator of the request. We now reject the callback unless the state parameter matches the one added to the initiating user's session.
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-1/+1
| | | | | | | | | | 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 }`
* Improve redirect uri state and fix all remaining testsKamil Trzcinski2017-10-061-7/+6
|
* Use short path project_clusters_urlShinya Maeda2017-10-061-1/+1
|
* Security fix: redirection in google_api/authorizations_controllerShinya Maeda2017-10-061-8/+15
|
* spec/features/projects/clusters_spec. Fix static analysysShinya Maeda2017-10-051-1/+1
|
* authorizations_controller_spec. cluster_policy_spec.Shinya Maeda2017-10-051-0/+43