[Rails5] Missing elements in spec/finders/snippets_finder_spec.rb
Note: add
rails5to a branch name to trigger rails5 specific CI jobs.
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/74545376
Failures:
1) SnippetsFinder#execute returns project- and personal snippets
Failure/Error: expect(finder.execute).to contain_exactly(project_snippet, personal_snippet)
expected collection contained: [#<ProjectSnippet id:75 namespace597/project639$75>, #<PersonalSnippet id:76 $76>]
actual collection contained: [#<PersonalSnippet id:76 $76>]
the missing elements were: [#<ProjectSnippet id:75 namespace597/project639$75>]
# ./spec/finders/snippets_finder_spec.rb:173:in `block (3 levels) in <top (required)>'