fixup b94bb9cdcd
This commit is contained in:
parent
47cd94e1ec
commit
f9a9ce635c
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue