Improving execution time for snippet feature spec public_access
What does this MR do?
In this MR we refactor the specs spec/features/security/project/snippet/public_access_spec.rb
and ee/spec/features/security/project/snippet/public_access_spec.rb
improve the execution time and the number of queries.
We basically replace let
by let_it_be
.
Refs #228686 (closed)
Does this MR meet the acceptance criteria?
Conformity
Edited by Francisco Javier López