Commit fd7afa53 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-fix-flaky-create-pipeline-spec' into 'master'

Fix flaky spec in create_pipeline_service_spec.rb

See merge request gitlab-org/gitlab!22762
parents d0caff41 403e1086
......@@ -499,7 +499,7 @@ describe Ci::CreatePipelineService do
it 'pull it from Auto-DevOps' do
pipeline = execute_service
expect(pipeline).to be_auto_devops_source
expect(pipeline.builds.map(&:name)).to eq %w[test code_quality build]
expect(pipeline.builds.map(&:name)).to match_array(%w[test code_quality build])
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