Aligning variable name in test related to protected containers
requested to merge gitlab-community/gitlab:427546-gerardo-navarro-protected-containters-write-protection-for-container-repositories-follow-up-refactor-align-var-in-test into master
What does this MR do and why?
Aligning variable name in test relaed to protected containers
This MR includes:
- Aligning a variable name with the name of the scope method that is tested, see subject
- This variable name should have been renamed in a previous MR, but it was forgotten
Screenshots or screen recordings
Changes only related to test
How to set up and validate locally
Just execute the relevant test
bundle exec rspec spec/models/container_registry/protection/rule_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR. -
Changelog entry added, if necessary -
Documentation created/updated via this MR -
Documentation reviewed by technical writer or follow-up review issue created -
Tests added for this feature/bug -
Tested in all supported browsers -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the javascript style guides -
Conforms to the database guides
-
Related to #416382
Edited by Gerardo Navarro