From 777ee95281a5db922ea58cb1f7328cbc6094a680 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Sat, 26 Oct 2019 01:36:01 +0200 Subject: [PATCH] Readability +4 --- spec/models/tournament_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/tournament_spec.rb b/spec/models/tournament_spec.rb index c182909..a555abe 100644 --- a/spec/models/tournament_spec.rb +++ b/spec/models/tournament_spec.rb @@ -48,6 +48,7 @@ RSpec.describe Tournament, type: :model do before do @tournament = create(:stage_tournament) end + it 'returns only matches' do @tournament.matches.each do |m| expect(m).to be_a Match