Fix random spec failures due to non-deterministic order
Closes https://gitlab.com/gitlab-org/gitlab/-/issues/343862 See `contain_exactly` matcher docs https://relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/contain-exactly-matcher By using this matcher we do not test the order of expected elements, but `Issue.public_only` and `Issue.without_hidden` seem to not provide ordered returned elements.
Showing
Please register or sign in to comment