1
0
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:
2015-04-27 13:54:57 -04:00
parent 61d1240f0b
commit 37470d9602
12 changed files with 69 additions and 42 deletions

View File

@@ -6,7 +6,7 @@ one:
address: Some Place
director: Jacob Cody Wimer
director_email: jacob.wimer@gmail.com
tournament_type: Pool to bracket

View File

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