Commit 5dc5bd3b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'caalberts-fix-flaky-update-service-spec' into 'master'

Fix flaky test update_service_spec.rb

See merge request gitlab-org/gitlab!50483
parents 9c537f99 98237c73
......@@ -21,7 +21,7 @@ RSpec.describe Analytics::DevopsAdoption::Segments::UpdateService do
it 'persists the segment' do
expect(subject).to be_success
expect(segment.name).to eq('new name')
expect(segment.groups).to eq([group, other_group])
expect(segment.groups).to match_array([group, other_group])
end
context 'when user is not an admin' do
......
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