From 68efd3caae7a2328ea1fc353a6bcf47f21453c89 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Fri, 14 Jun 2019 18:04:46 +0200 Subject: [PATCH] Add factory for a finished_playoff_match --- spec/factories/matches.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/factories/matches.rb b/spec/factories/matches.rb index cd0543f..22711e7 100644 --- a/spec/factories/matches.rb +++ b/spec/factories/matches.rb @@ -12,6 +12,9 @@ FactoryBot.define do match.match_scores = create_list(:match_score, evaluator.match_scores_count) end state { :in_progress } + factory :finished_playoff_match do + state { :finished } + end end factory :single_team_match do