Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Schädler 8cdc920338 Move scope of tournament creation in match_score controller test
This fixes the problem we had with the update of the match score
returning :forbidden because the @owner variable was not set properly.

Also names of the tests should now be easier to read.
2019-06-04 14:14:44 +02:00
Daniel Schädler 0e2e7dffb7 Dry out code with shared_examples 2019-06-04 14:14:44 +02:00
Daniel Schädler b9e0c38929 Overwrite owner of tournament manually 2019-06-04 14:14:44 +02:00
Daniel Schädler 25ea2f03d4 Test if match_score point change triggers group score calculation 2019-06-04 14:14:44 +02:00
Thor77 667d6a028c
Test controller params as they're documented 2019-04-07 13:40:34 +02:00
Thor77 dcb8e6b216 Adapt controller specs to new api schema 2018-12-11 17:14:43 +01:00
Daniel Schädler dd2f66f49d Score is now MatchScore & Score Attribute is Points Attribute 2018-11-30 15:10:33 +01:00