Readability +4

This commit is contained in:
Daniel Schädler 2019-10-26 01:36:01 +02:00
parent b8f8ffb411
commit 777ee95281
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ RSpec.describe Tournament, type: :model do
before do before do
@tournament = create(:stage_tournament) @tournament = create(:stage_tournament)
end end
it 'returns only matches' do it 'returns only matches' do
@tournament.matches.each do |m| @tournament.matches.each do |m|
expect(m).to be_a Match expect(m).to be_a Match