From c573fd9edd5d9e9a55c433efba35d8ab843aa2e9 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Sun, 18 Nov 2018 14:12:05 +0100 Subject: [PATCH] Fix team spec expecting group_score relation --- spec/models/team_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/team_spec.rb b/spec/models/team_spec.rb index c4be2b3..23b38bf 100644 --- a/spec/models/team_spec.rb +++ b/spec/models/team_spec.rb @@ -9,7 +9,7 @@ RSpec.describe Team, type: :model do describe 'association' do it { should belong_to :tournament } - it { should have_many :group_score } + it { should have_many :group_scores } it { should have_many :scores } end