Commit 5fb49fcc authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'id-fix-flacky-issue-spec' into 'master'

Fix flacky ee/spec/models/issue_spec.rb

See merge request gitlab-org/gitlab!43330
parents 9824ee7c c7de88ed
......@@ -120,7 +120,7 @@ RSpec.describe Issue do
describe '.any_epic' do
it 'returns only issues with an epic assigned' do
expect(described_class.count).to eq 3
expect(described_class.any_epic).to eq [epic_issue1.issue, epic_issue2.issue]
expect(described_class.any_epic).to contain_exactly(epic_issue1.issue, epic_issue2.issue)
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