From 08dce6ec09cc0b9184d38d1be707339f3fd653ec Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Fri, 10 May 2019 13:04:36 +0200 Subject: [PATCH] Add empty_prepared_playoff_match --- spec/factories/matches.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/factories/matches.rb b/spec/factories/matches.rb index 13d84f3..3d40a68 100644 --- a/spec/factories/matches.rb +++ b/spec/factories/matches.rb @@ -13,6 +13,10 @@ FactoryBot.define do state { :in_progress } end + factory :empty_prepared_playoff_match do + state { :not_started } + end + factory :decided_playoff_match do transient do match_scores_count { 2 }