add additional database table connecting game matches to participating players
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user