gitlab-org--gitlab-foss/spec/presenters
Thong Kuah 0e78834bc9 Move code to presenter
Part of the code such as #show_path is already present on the presenter.
Also avoid having code in two places (helper and presenter)

Sanitize and assert html_safe. Additional layer of defense - on top of
GitLab already requiring group names to be composed of small set of
chars A-Z, - and spaces.

Only link to cluster if user can read cluster

Make clear that arg is a GroupClusterablePresenter

Add more specs for completeness
2018-12-17 09:51:53 +13:00
..
ci Allow to make builds soft-archived. 2018-11-05 15:51:57 +01:00
clusters Move code to presenter 2018-12-17 09:51:53 +13:00
conversational_development_index
projects/settings
blob_presenter_spec.rb Move :plain option to Highlight class 2018-10-30 15:44:55 +08:00
clusterable_presenter_spec.rb Move view and path concerns to presenters 2018-11-01 19:37:32 +13:00
commit_status_presenter_spec.rb Improve CommitStatusPresenter 2018-08-01 12:25:19 +02:00
group_clusterable_presenter_spec.rb Extend clusters_controller for group type clusters 2018-11-08 23:14:06 +13:00
group_member_presenter_spec.rb Resolve "Can add an existing group member into a group project with new permissions but permissions are not overridden" 2018-12-06 13:15:29 +00:00
merge_request_presenter_spec.rb Fix XSS in MR source branch name 2018-10-12 16:58:08 -05:00
project_clusterable_presenter_spec.rb Remove method as using nested resource routes 2018-11-02 10:40:56 +13:00
project_member_presenter_spec.rb Resolve "Can add an existing group member into a group project with new permissions but permissions are not overridden" 2018-12-06 13:15:29 +00:00
project_presenter_spec.rb Further design iteration on project overview 2018-12-07 14:11:42 +00:00