Use match_array instead of eq

This is the proper way to compare arrays
This commit is contained in:
Daniel Schädler 2019-04-23 13:37:05 +02:00
parent a30ff860e9
commit a449e0193a
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ RSpec.describe MatchService do
team_order << score.team team_order << score.team
end end
end end
expect(team_order).to eq(teams) expect(team_order).to match_array(teams)
end end
end end