Add specs for main methods of automated_cleanup.rb

What does this MR do and why?

Closes #392858 (closed)

Add specs for the most important methods in automated_cleanup.rb. This is mainly to allow anybody to be more confident when doing refactorings in that class (as in !112690 (merged) for instance)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by David Dieulivol

Merge request reports

Loading