Commit dfe3623e authored by Albert Salim's avatar Albert Salim

Fix flaky test due to array order

parent dd1a6d26
......@@ -54,7 +54,7 @@ RSpec.describe Ci::CreatePipelineService do
end
it do
expect(execute.processables.map(&:name)).to eq(%w(compliance_build compliance_test))
expect(execute.processables.map(&:name)).to contain_exactly('compliance_build', 'compliance_test')
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