mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-03 21:33:48 +00:00
Moved match generation to a class and added tournament_type to tournaments.
This commit is contained in:
2
test/fixtures/tournaments.yml
vendored
2
test/fixtures/tournaments.yml
vendored
@@ -6,7 +6,7 @@ one:
|
||||
address: Some Place
|
||||
director: Jacob Cody Wimer
|
||||
director_email: jacob.wimer@gmail.com
|
||||
|
||||
tournament_type: Pool to bracket
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
|
||||
@id = 6000 + numberOfWrestlers
|
||||
@tournament3 = Tournament.new
|
||||
@tournament3.id = @id
|
||||
@tournament3.tournament_type = "Pool to bracket"
|
||||
@tournament3.name = "Something"
|
||||
@tournament3.address = "Some Place"
|
||||
@tournament3.director = "Some Guy"
|
||||
|
||||
Reference in New Issue
Block a user