summaryrefslogtreecommitdiff
path: root/spec/policies/issue_policy_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Hides Close MR button on merged MR50161-hide-close-mr-button-when-mergedJacopo2018-10-021-1/+1
| | | | | | | | | | | When a Merge request is merged, shows only the Report abuse menu item in the dropdown menu instead of showing the close_reopen_report toggle with an unusable Close button. The Report abuse is still hidden when the author of the Merge request is the current_user. Hides the Reopen button on a closed and locked issue when the issue.author is not the current_user
* Restrict reopening locked issues for issue authorsJarka Kadlecová2018-09-041-14/+28
|
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-44/+44
|
* Replace '.team << [user, role]' with 'add_role(user)' in specs36782-replace-team-user-role-with-add_role-user-in-specsblackst0ne2017-12-221-6/+6
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* update the specs to not require a set to be returnedhttp://jneen.net/2017-06-271-61/+61
|
* Fix specsClement Ho2017-05-041-4/+4
|
* Enable RSpec/FilePath copenable-spec-file-name-copSean McGivern2017-04-261-86/+160
| | | | | | - Ignore JS fixtures - Ignore qa directory - Rewrite concern specs to put concern name first
* Use `:empty_project` where possible in policy specsRobert Speicher2017-03-271-1/+1
|
* Added tests for IssuePolicyYorick Peterse2016-11-071-0/+119