Readability +4
This commit is contained in:
parent
b8f8ffb411
commit
777ee95281
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue