Speed up specs for AlertManagement::Alert
The following discussion from !36024 (merged) should be addressed:
-
@splattael started a discussion: Non-blocking: There is some potential to get these specs a bit faster by using
let_it_be(:project)
or evenbuild_stubbed
🤔 [TEST PROF INFO] Factories usage Total: 106 Total top-level: 59 Total time: 6.3626s Total uniq factories: 5 total top-level total time top-level time name 38 38 2.9630s 2.9630s alert_management_alert 33 19 5.6580s 3.2872s project 33 0 1.3453s 0.0000s namespace 1 1 0.0085s 0.0085s license 1 1 0.1038s 0.1038s environment
Edited by Peter Leitzen