Daniel Schädler
|
c93244b005
|
HTTP response Test should not fail because of no tournament found
|
2020-01-14 17:12:56 +01:00 |
Daniel Schädler
|
793f750547
|
Reorganize group_stage=true tests
|
2020-01-14 17:12:56 +01:00 |
Daniel Schädler
|
0eff3d382d
|
Add tests testing odd group sizes and playoff team amounts
|
2020-01-14 17:12:56 +01:00 |
Thor77
|
d317585168
|
Add "simple" parameter to tournament show
|
2019-10-25 23:17:08 +02:00 |
Thor77
|
3109308817
|
Fix teams not associated with created tournament
when choosing a group stage
|
2019-06-18 13:29:31 +02:00 |
Daniel Schädler
|
63db00b9ff
|
Actually test if correct field gets set in error response
|
2019-06-13 13:28:34 +02:00 |
Daniel Schädler
|
c8f69ccb16
|
Dry out tests for unacceptable playoff_teams_amount
|
2019-06-13 13:21:24 +02:00 |
Daniel Schädler
|
3e04584e9f
|
Test changing group_stage transition relevant parameters
|
2019-06-13 13:21:24 +02:00 |
Daniel Schädler
|
4d5d7bc812
|
Only allow positive powers of two for playoff_teams_amount
|
2019-06-13 13:21:24 +02:00 |
Daniel Schädler
|
bd2af09339
|
Add field to tournament containing playoff_teams_amount
This field represents how many teams advance into playoff stage after
the group stage has ended.
|
2019-06-05 16:46:06 +02:00 |
Daniel Schädler
|
03d7369a1c
|
Remove link between team.owner and tournament
|
2019-05-22 09:25:07 +02:00 |
Thor77
|
f93c714e1a
|
Add test for empty team hashes
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
ae29427e5d
|
Don't run "before" before each test
|
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
|
acfc388da4
|
Implements group stage tournament creation
|
2019-05-04 20:34:57 +02:00 |
Daniel Schädler
|
300f16b4c2
|
Rename create_data to create_playoff_tournament_data
This is done in preparation for the addition of group stage data
within the next few commits
|
2019-05-04 20:34:57 +02:00 |
Thor77
|
6d40d091a4
|
Modify tournament index spec for "type" parameter
|
2019-04-24 22:49:48 +02:00 |
Thor77
|
c4d03b52c3
|
Fix tournament index spec apply wrong auth header
because the user @owner doesn't have any private tournaments, therefore
the spec was pointless
|
2019-04-24 22:49:48 +02:00 |
Thor77
|
09ca262ab1
|
Move index specs into without parameters context
|
2019-04-24 22:49:48 +02:00 |
Thor77
|
a14a5224e5
|
Add spec for tournament-creation with invalid team
|
2019-04-16 13:24:58 +02:00 |
Thor77
|
2b2fccf076
|
Add tests checking generated stage
|
2019-04-09 10:47:17 +02:00 |
Thor77
|
cdd6b6737f
|
Add test for non-existing team and names
|
2019-04-08 11:15:24 +02:00 |
Thor77
|
2385650be0
|
Adapt tests to updated tournament controller
|
2019-04-07 19:27:28 +02:00 |
Thor77
|
12c14303f2
|
Validate exact tournament lists instead of sizes
|
2019-04-07 18:46:48 +02:00 |
Thor77
|
667d6a028c
|
Test controller params as they're documented
|
2019-04-07 13:40:34 +02:00 |
Thor77
|
d7a8504b45
|
Replace deprecated Faker::Dog
|
2019-04-03 09:45:56 +02:00 |
Thor77
|
945c499de7
|
Skip spec for tournament creation for now
because we need to find a proper way to implement it in a RESTful way
|
2018-12-11 17:14:43 +01:00 |
Thor77
|
dcb8e6b216
|
Adapt controller specs to new api schema
|
2018-12-11 17:14:43 +01:00 |
Thor77
|
83c76c456c
|
Add TournamentsControllers specs
|
2018-11-25 22:55:48 +01:00 |