-
- Downloads
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.
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