This change will basically solve climate change as it saves all

the computing power in the whole world.
This commit is contained in:
Daniel Schädler 2019-05-15 11:23:12 +02:00
parent b5377db1f3
commit 27709f0136
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ FactoryBot.define do
match_scores_count { 2 } match_scores_count { 2 }
end end
after(:create) do |match, evaluator| 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 match.match_scores.first.points += 1
end end
state { :team1_won } state { :team1_won }