Fix notes_on_personal_snippets_spec EE
What does this MR do?
EE port of: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11160
Check for all possible timeago strings that can be rendered in a few minutes.
We cannot rely on just "less than a minute ago", as for whatever reason, we could see delays that update timeago to have a different string.
Fixes these failures: https://gitlab.com/gitlab-org/gitlab-ee/builds/15796069
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added - Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together