Fix spying on ref methods in tests
What does this MR do and why?
This MR fixes a few tests where we were spying on $refs
method. Instead, we should use stubs
Screenshots or screen recordings
No visual changes
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 Natalia Tepluhina