Commit Graph

10 Commits

Author SHA1 Message Date
Thor77 a3523c4d06
Add bet model
* has_many relations in all belonging models
* specs for relations in existing models
* association specs for bet model
2019-06-09 20:43:28 +02:00
Daniel Schädler cda1cfcb50 Remove deprecated Factory Tests 2019-05-15 09:12:01 +02:00
Daniel Schädler 22f0204f29 Add missing factory specs 2019-05-04 20:34:57 +02:00
Thor77 a99ae0e248 Assert tournament/stage/group relations optional 2019-04-03 10:03:45 +02:00
Daniel Schädler 68f9b3b2b3 Change Score to MatchScore & MatchScore score attribute to points
This is done to improve the naming and therefore make things easier to understand.
2018-11-30 14:15:48 +01:00
Thor77 c573fd9edd
Fix team spec expecting group_score relation 2018-11-19 11:47:14 +01:00
Thor77 b09f4eceb2
Add tests for valid factory to all model tests 2018-11-19 11:47:13 +01:00
Thor77 1a24dd3057
Add association tests for new schema 2018-11-19 11:47:13 +01:00
Thor77 b72bc69b81
Add spec for GroupScore model 2018-11-19 11:47:13 +01:00
Thor77 ff63380c9c
Add Tournament model spec and factory 2018-11-19 11:47:12 +01:00