Run tests with a match_score that is part of a match

This commit is contained in:
Daniel Schädler 2019-04-16 20:18:34 +02:00
parent 6ff2c8d21e
commit 0a13299fca
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ require 'rails_helper'
RSpec.describe MatchScoresController, type: :controller do
before do
@match_score = create(:match_score)
@match_score = create(:running_playoff_match).match_scores.first
@owner = @match_score.owner
end