Run tests with a match_score that is part of a match
This commit is contained in:
parent
6ff2c8d21e
commit
0a13299fca
|
|
@ -4,7 +4,7 @@ require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe MatchScoresController, type: :controller do
|
RSpec.describe MatchScoresController, type: :controller do
|
||||||
before do
|
before do
|
||||||
@match_score = create(:match_score)
|
@match_score = create(:running_playoff_match).match_scores.first
|
||||||
@owner = @match_score.owner
|
@owner = @match_score.owner
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue