Make Hound woof happily

This commit is contained in:
Daniel Schädler 2019-06-04 14:13:19 +02:00
parent 688e2da706
commit b1af138ed8
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ RSpec.describe GroupStageService do
it 'adds GroupScore objects for every team present in the group' do it 'adds GroupScore objects for every team present in the group' do
group_stage = GroupStageService.generate_group_stage(@prepared_groups) group_stage = GroupStageService.generate_group_stage(@prepared_groups)
teams_in_group_scores = group_stage.groups.map{ |g| g.group_scores.map(&:team) }.flatten teams_in_group_scores = group_stage.groups.map { |g| g.group_scores.map(&:team) }.flatten
expect(teams_in_group_scores).to match_array(@prepared_groups.flatten) expect(teams_in_group_scores).to match_array(@prepared_groups.flatten)
end end