Commit 75f8d42b authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '212176-fix-flaky-spec' into 'master'

Fix a flaky spec which wrongly assumed array ordering

Closes #212176

See merge request gitlab-org/gitlab!27806
parents 84c0ffe1 9089e8fa
......@@ -215,7 +215,7 @@ describe Ci::CreateCrossProjectPipelineService, '#execute' do
pipeline = service.execute(bridge)
pipeline.reload
expect(pipeline.builds.map(&:name)).to eq %w[rspec echo]
expect(pipeline.builds.map(&:name)).to match_array(%w[rspec echo])
expect(pipeline.user).to eq bridge.user
expect(pipeline.project).to eq bridge.project
expect(bridge.sourced_pipelines.first.pipeline).to eq pipeline
......
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