add additional database table connecting game matches to participating players

This commit is contained in:
2026-11-10 01:04:07 +03:00
parent 271daac935
commit 219448ccfb
10 changed files with 103 additions and 3 deletions
@@ -92,6 +92,7 @@ RSpec.describe MatchmakingService do
expect(match.player1_rating_change).to eq(0)
expect(match.player2_rating_change).to eq(0)
expect(match.finished_at).to be_nil
expect(match.match_players.pluck(:player_id)).to contain_exactly(a, b)
end
end