1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-01 12:15:25 +00:00

A Tournament can now generate its own matches.

This was again extracted as a module.  Modules get more powerful as they get more generic.  This is far from generic.
This commit is contained in:
RJ Osborne
2015-05-27 23:57:37 -04:00
parent 9b2c2dde60
commit 062396da0a
4 changed files with 34 additions and 55 deletions

View File

@@ -124,7 +124,6 @@ class PoolbracketMatchupsTest < ActionDispatch::IntegrationTest
assert_equal 32, @twentysix_matches.length
end
test "test if a wrestler can exceed five matches" do
(5...16).each do |count|
tourney = createTournament(count)