Commit 739b3412 authored by Patrick Bajao's avatar Patrick Bajao

Merge branch...

Merge branch '268238-spec-failure-in-spec-graphql-resolvers-projects_resolver_spec-rb-resolvers-projectsresolver' into 'master'

Fix flaky spec in spec/graphql/resolvers/projects_resolver_spec.rb

See merge request gitlab-org/gitlab!45744
parents a3b8f271 d965a1b5
......@@ -134,8 +134,8 @@ RSpec.describe Resolvers::ProjectsResolver do
is_expected.to eq([named_project3, named_project1, named_project2])
end
it 'returns projects not in order of similarity to search if flag is off' do
is_expected.not_to eq([named_project3, named_project1, named_project2])
it 'returns projects in any order if flag is off' do
is_expected.to match_array([named_project3, named_project1, named_project2])
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment