From 15e2bd830f75f11c53aec40698bb2a6a07266bd3 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Mon, 17 Jun 2019 12:48:48 +0200 Subject: [PATCH] Randomize points in group_scores factory --- spec/factories/group_scores.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/factories/group_scores.rb b/spec/factories/group_scores.rb index 558484a..0692ee6 100644 --- a/spec/factories/group_scores.rb +++ b/spec/factories/group_scores.rb @@ -4,5 +4,9 @@ FactoryBot.define do factory :group_score do team group + + group_points { rand 5 } + scored_points { rand 5 } + received_points { rand 5 } end end