diff --git a/spec/models/match_score_spec.rb b/spec/models/match_score_spec.rb index bff5d5a..343cecd 100644 --- a/spec/models/match_score_spec.rb +++ b/spec/models/match_score_spec.rb @@ -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