Fix order dependant spec, do not write file in test
What does this MR do and why?
Describe in detail what your merge request does and why.
- Fixes order dependant spec failure - example: https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/2832506810
- Mocks file writing in another spec to not pollute git directory every time a test is executed
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
bundle exec rspec
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.
Edited by George Koltsov