Improve wiki specs
What does this MR do?
In this MR we're improving a couple of snippets tests.
Spec | Time Before | Time After | DB Queries Before | DB Queries After |
---|---|---|---|---|
ee/spec/features/security/project/snippet/private_access_spec.rb |
16.53s | 15.02s | 506 | 308 |
spec/features/security/project/snippet/private_access_spec.rb |
58.8s | 40.31s | 4914 | 2121 |
Does this MR meet the acceptance criteria?
Conformity
-
I have included a changelog entry, or it's not needed. (Does this MR need a changelog?) -
I have properly separated EE content from FOSS, or this MR is FOSS only. (Where should EE code go?) -
I have self-reviewed this MR per code review guidelines. -
This MR does not harm performance, or I have asked a reviewer to help assess the performance impact. (Merge request performance guidelines) -
I have followed the style guides.
Related to #228702 (closed)