Commit graph

3 commits

Author SHA1 Message Date
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