mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Added tests for 16 man double elimination and fixed eight man double elimination test syntax error
This commit is contained in:
@@ -78,7 +78,7 @@ class DoubleEliminationEightManMatchGeneration < ActionDispatch::IntegrationTest
|
||||
|
||||
match2 = @tournament.matches.select{|m| m.bracket_position == "Conso Semis"}.first
|
||||
wrestler2 = get_wrestler_by_name("Test2")
|
||||
match2.w1 = wrestler.id
|
||||
match2.w1 = wrestler2.id
|
||||
match2.save
|
||||
|
||||
assert wrestler.reload.placement_points == 3
|
||||
|
||||
Reference in New Issue
Block a user