-
- Downloads
Merge branch 'rs-project-security-spec-speed' into 'master'
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. Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/24899 See merge request !7779
No related branches found
No related tags found
Showing
- spec/features/security/project/internal_access_spec.rb 252 additions, 265 deletionsspec/features/security/project/internal_access_spec.rb
- spec/features/security/project/private_access_spec.rb 216 additions, 229 deletionsspec/features/security/project/private_access_spec.rb
- spec/features/security/project/public_access_spec.rb 251 additions, 264 deletionsspec/features/security/project/public_access_spec.rb
- spec/support/matchers/access_matchers.rb 28 additions, 7 deletionsspec/support/matchers/access_matchers.rb
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment