This commit is contained in:
Daniel Schädler 2019-06-05 00:07:54 +02:00
parent 47cd94e1ec
commit f9a9ce635c
1 changed files with 2 additions and 2 deletions

View File

@ -10,11 +10,11 @@ RSpec.describe MatchScore, type: :model do
describe '#part_of_group_match?' do
it 'is part of a group match' do
expect(create(:running_group_match).match_scores.first.part_of_group_match?).to be(true)
expect(create(:running_group_match).match_scores.first.part_of_group_match?).to eq(true)
end
it 'isn\'t part of a group match' do
expect(create(:running_playoff_match).match_scores.first.part_of_group_match?).to be(false)
expect(create(:running_playoff_match).match_scores.first.part_of_group_match?).to eq(false)
end
end
end