Commit graph

4 commits

Author SHA1 Message Date
Douwe Maan
fe13f11041 Create and use project path helpers that only need a project, no namespace 2017-07-05 11:11:59 -05:00
Robert Speicher
09b35c537c Speed up project snippet security request specs
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/24899

See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7779 and
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7813
2016-12-02 18:18:02 +08:00
the-undefined
80a2e3a9c8 Add missing security specs for raw snippet access
Each project visibility type (Public, Internal, Private) has an access
feature spec to catch security regressions. This commit adds relevent
tests for the raw snippet path in each of these project access specs.

Refacotrings:

- Use an empty project factory for access specs
2016-11-05 07:11:50 +00:00
Rémy Coutable
4f07c0a107 Ensure project snippets have their own access level 2016-03-25 18:51:17 +01:00