From 27709f0136876b45731594d8f2f7c5ba0c151d1a Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Wed, 15 May 2019 11:23:12 +0200 Subject: [PATCH] This change will basically solve climate change as it saves all the computing power in the whole world. --- spec/factories/matches.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/factories/matches.rb b/spec/factories/matches.rb index 54090c4..030c87c 100644 --- a/spec/factories/matches.rb +++ b/spec/factories/matches.rb @@ -23,7 +23,8 @@ FactoryBot.define do match_scores_count { 2 } end after(:create) do |match, evaluator| - match.match_scores = create_list(:match_score, evaluator.match_scores_count, points: rand(10)) + match.match_scores = create_list(:match_score, evaluator.match_scores_count, points: 37) + # random number generated by blapplications match.match_scores.first.points += 1 end state { :team1_won }