Add admin mode shared examples to users spec
What does this MR do and why?
In this MR I am adding the admin mode shared examples
to the users specs.
The first commit primarily includes refactoring and clean-up changes, while the second commit adds a shared example. Additionally, the second commit also includes a few clean-up changes that were missed in the first commit.
spec/support/shared_examples/requests/admin_mode_shared_examples.rb
Read this to understand how the shared examples work and where I think it should be added in tests.
How to set up and validate locally
- Run the test individually
- Run pipeline
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.