Commit graph

9 commits

Author SHA1 Message Date
Thong Kuah
f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Rémy Coutable
88d6bdcfec
Reduce differences in spec/support/matchers/access_matchers.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-03-07 08:13:38 +01:00
Dosuken shinya
73ac7b2dd6 Resolve "Add more tests for spec/controllers/projects/builds_controller_spec.rb" 2017-04-28 09:38:32 +00:00
Douwe Maan
f74ca33a32 Enable Style/ClassCheck 2017-02-23 09:32:22 -06:00
Robert Speicher
f7351b040b Speed up Group security access specs
This is the Group equivalent of 13ad9a745a
2016-11-30 14:45:35 +08:00
Robert Speicher
13ad9a745a Speed up Project security access specs
Prior, every single test was creating four `ProjectMember` objects, each
of which created one `User` record, even though each test only used
_one_ of those Users, if any.

Now each test only creates the single user record it needs, if it needs
one. This shaves minutes off of each spec file changed here.
2016-11-28 17:34:27 +08:00
Douwe Maan
8db1292139 Tweaks, refactoring, and specs 2016-03-20 21:04:07 +01:00
Zeger-Jan van de Weg
42fcd3881f External Users
The user has the rights of a public user execpt it can never create a project,
 group, or team. Also it cant view internal projects.
2016-03-13 19:08:04 +01:00
Robert Speicher
a2ecfdc585 Move access-related matchers to their own module 2015-07-22 00:01:17 -04:00