1
0
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:
2020-02-04 12:23:59 -05:00
parent 9dae57e141
commit eac603667b
3 changed files with 238 additions and 1 deletions

View File

@@ -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