summaryrefslogtreecommitdiff
path: root/spec/controllers/boards
Commit message (Collapse)AuthorAgeFilesLines
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-1/+1
| | | | | These are not required because MySQL is not supported anymore
* Modified spec so a second call to json_response is avoided35757-add-result-to-requestPatrick Derichs2019-07-161-2/+7
|
* Use match_array instead of includePatrick Derichs2019-07-161-1/+1
|
* Add result to MoveService#execute_multiplePatrick Derichs2019-07-161-2/+11
| | | | | | | | It adds a hash response which includes the count, success state and the moved issues itself so the caller has additional information about the result of the process.
* Cleanup usages of `JSON.parse` in specsPeter Leitzen2019-07-162-9/+3
| | | | Prefer `json_response` where applicable.
* Add endpoint to move multiple issues35757-move-issues-in-boards-pderichsPatrick Derichs2019-07-111-0/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add specs for new endpoint to move multiple issues. Add changelog entry Just check the first issue for the ability to move / update Add specs for exceeding limits and malformed requests Changed name of shared examples Change title of changelog entry Use %i instead of %w Check permission to update issue on project instead of board Use admin_issue permission to check for issue move ability Changed variable name to avoid shadow issue_params method Rename route to bulk_move Change route definition Check permissions for each issue Combine methods for parameters permit check Remove extra context Change description of context Check param for type Array Add unit tests to MoveService Use before_action for permission check Use set instead of let! Use let's instead of set
* Add some frozen string to spec/**/*.rbgfyoung2019-04-152-0/+4
| | | | | | | | | | 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
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-091-0/+26
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-051-26/+0
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-051-0/+26
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Enable the Layout/ExtraSpacing cop56392-enable-the-layout-extraspacing-copRémy Coutable2019-01-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Backport of 54385-board-policyMario de la Ossa2019-01-182-12/+5
|
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-192-24/+36
| | | | | | | | | | 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 }`
* Remove rails4 specific codeJasper Maes2018-12-161-5/+1
|
* Extract code into IssueBoardEntityBrett Walker2018-12-041-3/+3
|
* Revert "Extract code into IssueBoardEntity"revert_issue_board_entityThong Kuah2018-11-091-3/+3
| | | | This reverts commit 8c126525faba40032244328187ba73a53b6eaf4c.
* Extract code into IssueBoardEntityBrett Walker2018-11-061-3/+3
|
* Simplify query and add tests for authorization changeHeinrich Lee Yu2018-10-261-4/+15
|
* Add preload in issues controllerChantal Rollison2018-10-181-2/+47
|
* [Backport] View summed weights of issues in board columnFelipe Artur2018-07-301-2/+2
|
* Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao2018-07-112-2/+2
|
* Merge branch 'jprovazn-rails5-boards' into 'master'Rémy Coutable2018-06-111-6/+12
|\ | | | | | | | | | | | | [Rails5] Fix conversion of integer into string in board spec Closes #47653 See merge request gitlab-org/gitlab-ce!19616
| * Fix conversion of integer into string in board specJan Provaznik2018-06-091-6/+12
| | | | | | | | | | | | In rails 5 controller specs, integers are converted to strings unless conte-type is set with `as: :json`: https://github.com/rails/rails/issues/26069
* | Make all uses of `fixture_file_upload` use relative pathsRobert Speicher2018-06-071-1/+1
|/
* Reduce CE/EE diff in spec/controllers/boards/issues_controller_spec.rbRémy Coutable2018-05-241-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-0/+1
|
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-222-5/+5
|
* Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo2017-10-202-30/+30
|
* fix another N+1 query for label priorities34510-board-issues-sql-speedupmicael.bergeron2017-09-121-0/+11
| | | | added a QueryRecorder for IssuesController#index.json
* Backport specsFelipe Artur2017-08-312-10/+24
|
* Continue BE backportFelipe Artur2017-08-312-0/+473