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 }