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