Daniel Schädler
|
f00c5ac8dc
|
Merge branch 'annotate_advancing_teams' into 'master'
Annotate advancing teams
See merge request turniere/turniere-backend!28
|
2025-03-14 14:23:58 +00:00 |
Daniel Schädler
|
d1c6ee2da5
|
Fix split and rotate call
|
2025-03-13 12:56:20 +01:00 |
Daniel Schädler
|
d1cbe8a354
|
Fix tests
|
2025-03-13 12:52:12 +01:00 |
Daniel Schädler
|
3bb8afeae6
|
Remove focused tests
|
2025-03-09 21:14:18 +01:00 |
Daniel Schädler
|
cf3cc9cebb
|
Add tests about the advancing teams
|
2025-03-09 20:14:34 +01:00 |
Daniel Schädler
|
5786607b7f
|
Reload group_scores from database after update
|
2025-03-09 20:04:00 +01:00 |
Daniel Schädler
|
a74236982d
|
Generate a valid tournament like at bpwstr
|
2025-03-09 19:34:49 +01:00 |
Daniel Schädler
|
5c6b683526
|
All groups are created equal
|
2025-03-08 17:46:55 +01:00 |
Daniel Schädler
|
322d1e2ed4
|
Add dummy tournament with group stage
|
2025-03-08 17:39:36 +01:00 |
Daniel Schädler
|
6fcdeac054
|
Move array splitting and rotating to utils
|
2025-03-04 21:34:16 +01:00 |
Daniel Schädler
|
0518f6691b
|
Remove expensive tests
|
2022-06-12 21:42:20 +00:00 |
Daniel Schädler
|
eb5c3b5faf
|
Test huge playoff stage generation
|
2022-05-29 23:58:07 +02:00 |
Daniel Schädler
|
c3af6f9232
|
Rubocop -A
|
2021-08-15 14:31:50 +02:00 |
Daniel Schädler
|
3dfeae8bf3
|
Test #teams_sorted_by_group_scores
|
2019-06-18 22:22:10 +02:00 |
Daniel Schädler
|
bc0c7fddc3
|
Make match position randomizable
|
2019-06-18 19:22:05 +02:00 |
Daniel Schädler
|
98319e9625
|
Assign :intermediate_stage to first stage if single_team matches present
|
2019-06-17 15:02:30 +02:00 |
Daniel Schädler
|
62f3ccba31
|
Rename method test
|
2019-06-17 15:02:30 +02:00 |
Daniel Schädler
|
5f378f27b2
|
Correct position for :single_team matches
|
2019-06-17 15:02:30 +02:00 |
Thor77
|
ce154a821c
|
Fix error message not changed in spec
|
2019-06-17 13:48:50 +02:00 |
Thor77
|
175870ab42
|
Prevent betting on running/finished matches
|
2019-06-17 13:48:50 +02:00 |
Thor77
|
48fc9fab57
|
Refactor spec to use let instead of class vars
|
2019-06-17 13:48:50 +02:00 |
Thor77
|
167a2116f1
|
Prevent duplicate bets on the same match
|
2019-06-17 13:48:50 +02:00 |
Thor77
|
f08c4693ad
|
Expect UserServiceError in spec
|
2019-06-17 13:48:49 +02:00 |
Thor77
|
2f0127897e
|
Add UserService
|
2019-06-17 13:48:49 +02:00 |
Daniel Schädler
|
db70e33882
|
Assign number to each group
|
2019-06-17 13:37:06 +02:00 |
Daniel Schädler
|
c2056df1ba
|
Remove accidental focus: true
|
2019-06-17 13:37:06 +02:00 |
Daniel Schädler
|
41194ee181
|
Test group_stage state being assigned correctly
|
2019-06-13 16:13:06 +02:00 |
Daniel Schädler
|
bb1b8798d8
|
DRY out group_stage_service_spec
|
2019-06-13 16:09:38 +02:00 |
Daniel Schädler
|
07f5388f6d
|
Add Tests for TournamentService
|
2019-06-13 13:21:24 +02:00 |
Daniel Schädler
|
24ce5b7a62
|
Test update_group_scores method
|
2019-06-05 09:49:22 +02:00 |
Daniel Schädler
|
258e1ceb1c
|
Rename groups to prepared_groups
This is done because prepared_groups only represents hashes of groups
that still need to be generated rather then actual group objects.
|
2019-06-05 09:49:22 +02:00 |
Daniel Schädler
|
c9cdb835a0
|
Remove unused Variable stage
|
2019-06-05 09:49:22 +02:00 |
Daniel Schädler
|
96398706ea
|
Add GroupScore objects for every team to the group stage
|
2019-06-05 09:49:21 +02:00 |
Daniel Schädler
|
6f44823bc6
|
Change match state of match below
|
2019-05-26 20:15:59 +02:00 |
Daniel Schädler
|
8dd1f0b07c
|
Rearrange Test Code
|
2019-05-26 20:15:59 +02:00 |
Daniel Schädler
|
0337b6fad8
|
Save match_scores after editing them in tests
|
2019-05-26 20:15:59 +02:00 |
Daniel Schädler
|
e0ef39cc4b
|
Test populate_match_below method
|
2019-05-26 20:15:58 +02:00 |
Thor77
|
39fc9f1630
|
Use factories instead of creating models manually
|
2019-05-16 20:53:05 +02:00 |
Thor77
|
bdcfbe934b
|
Add StatisticsService
|
2019-05-16 20:53:04 +02:00 |
Daniel Schädler
|
db1518bdbd
|
Raise exceptions upon error in group_stage_service
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
88d8367c47
|
Check the length of the match positions instead of their exact content
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
bbeda07028
|
Change test / context / describe names
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
6dba0ec738
|
Test GroupStageService
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
d3d572ea1b
|
Change return for 0 teams to exception
|
2019-04-23 14:21:29 +02:00 |
Daniel Schädler
|
a449e0193a
|
Use match_array instead of eq
This is the proper way to compare arrays
|
2019-04-23 14:19:36 +02:00 |
Daniel Schädler
|
a30ff860e9
|
Return a valid list of matches for 1 team
|
2019-04-23 14:19:36 +02:00 |
Daniel Schädler
|
d221928a12
|
Test generation of playoff stages for 1 2 and 3 teams
|
2019-04-23 14:19:36 +02:00 |
Daniel Schädler
|
8b11f73a58
|
Add another Test Case
|
2019-04-23 14:19:36 +02:00 |
Daniel Schädler
|
9918b4a71c
|
Improve test readability in logs
|
2019-04-23 14:19:36 +02:00 |
Daniel Schädler
|
6baaebddd9
|
Add Test for team numbers that are not powers of 2
|
2019-04-23 14:19:36 +02:00 |