1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00
Commit Graph

22 Commits

Author SHA1 Message Date
386dc1605f Finished pool advance logic still need tests 2015-10-14 17:58:28 -04:00
087c383996 Continuing pool bracket movements 2015-10-13 20:57:35 -04:00
1d7c9ee3ef Tested mat assignment during match generation 2015-07-01 13:43:18 -04:00
3f3cc7014b Fixed tests to include mats 2015-06-19 19:57:42 +00:00
54828f7761 Tests completed to check loser names for all pool bracket types 2015-06-04 16:40:19 +00:00
d065e31818 Loser name generation was not saving. Fixed that and added a test. 2015-05-28 12:24:46 +00:00
RJ Osborne
062396da0a 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.
2015-05-27 23:57:37 -04:00
RJ Osborne
902685ea51 Get us back to green on the tests. upcomingMatches doesn't (and shouldn't) change tournament state. 2015-05-27 22:14:19 -04:00
RJ Osborne
c041286943 rough cut of getting rid of the matches collection being passed around
Associated Weight and Match-- the FK already existed in the domain
Reduced argument counts on assignLoserNames and assignBouts; trying to pass a Tournament around more
This was a tough nut to crack.  Looking back, I tried to eat too much of the horse at once on this refactor.
2015-05-26 19:26:15 -04:00
RJ Osborne
091b7c4181 Cut the runtime by queueing the changes in memory and deferring database writes
Made some unspecified behavior explicit
2015-05-26 19:26:15 -04:00
RJ Osborne
98879c16b9 Make sure the max weight is defined during tests 2015-05-26 19:26:15 -04:00
R.J. Osborne
d0926420b2 extracting methods from test setup 2015-05-19 23:25:49 -04:00
R.J. Osborne
0e954c1789 Simplify construction a bit on some methods 2015-05-19 22:36:30 -04:00
R.J. Osborne
f6dd4e8625 Renamed boutNumber to bout_number to make the field consistent with the rest of the domain and database schema. 2015-05-17 08:13:52 -04:00
d68e4bc54f got tests working and showed mats table if not logged in 2015-05-05 19:10:17 +00:00
37470d9602 Moved match generation to a class and added tournament_type to tournaments. 2015-04-27 13:54:57 -04:00
9c5c12c413 Matchups_array completely removed. I do not know why has_many matches
does not work in tournaments. The solution was to add a matches
method.
2015-04-27 09:50:41 -04:00
dd44efa869 Got stuff working with matches being saved individually. 2015-04-26 15:49:13 -04:00
7146c401cf Test 5 match rule for bracket size 5-16 2015-03-27 19:07:49 +00:00
86faf8b2a4 Tested serialization in poolbracket integration test 2015-03-27 13:07:32 +00:00
4b6b20c912 Created integration test for poolbracket matchups 2015-03-27 12:52:35 +00:00
Jacob Cody Wimer
6a38c8388b initial commit 2013-12-23 11:04:30 -05:00