Commit f3c44f64 authored by Sean McGivern's avatar Sean McGivern

Merge branch '53491-fix-again' into 'master'

Don't care about order when getting awarded issues

Closes #53491

See merge request gitlab-org/gitlab-ce!23101
parents 64c35c74 8ae9b248
...@@ -37,8 +37,8 @@ describe Awardable do ...@@ -37,8 +37,8 @@ describe Awardable do
create(:award_emoji, awardable: issue3, name: "star", user: award_emoji.user) create(:award_emoji, awardable: issue3, name: "star", user: award_emoji.user)
create(:award_emoji, awardable: issue3, name: "star", user: award_emoji2.user) create(:award_emoji, awardable: issue3, name: "star", user: award_emoji2.user)
expect(Issue.awarded(award_emoji.user)).to eq [issue, issue3] expect(Issue.awarded(award_emoji.user)).to contain_exactly(issue, issue3)
expect(Issue.awarded(award_emoji2.user)).to eq [issue2, issue3] expect(Issue.awarded(award_emoji2.user)).to contain_exactly(issue2, issue3)
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