Commit eb3cf65e authored by Mark Fletcher's avatar Mark Fletcher

Attempt to reduce flakiness ci/tags_spec array checks

parent ffedc13c
...@@ -20,7 +20,7 @@ RSpec.describe Ci::CreatePipelineService do ...@@ -20,7 +20,7 @@ RSpec.describe Ci::CreatePipelineService do
it 'creates a pipeline', :aggregate_failures do it 'creates a pipeline', :aggregate_failures do
expect(pipeline).to be_created_successfully expect(pipeline).to be_created_successfully
expect(pipeline.builds.first.tag_list).to eq(%w[tag1 tag2]) expect(pipeline.builds.first.tag_list).to match_array(%w[tag1 tag2])
end 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