Fix sidebar spec
What does this MR do?
Fixes the sidebar spec so that rspec 6 20
passes as found in https://gitlab.com/gitlab-org/gitlab-ee/builds/15426868
Are there points in the code the reviewer needs to double check?
Shouldn't be
Why was this MR needed?
Fixes failing build
Screenshots (if relevant)
None
Does this MR meet the acceptance criteria?
Yes