Commit Graph

7 Commits

Author SHA1 Message Date
Daniel Schädler b1ff7d2e96 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 15:09:21 +02:00
Daniel Schädler 71976ba550 Dry out code with shared_examples 2019-06-04 15:09:21 +02:00
Daniel Schädler f2a18ec08e Overwrite owner of tournament manually 2019-06-04 15:09:21 +02:00
Daniel Schädler 23d167e04d Test if match_score point change triggers group score calculation 2019-06-04 15:09:21 +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