spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.13.0 vs spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.13.1

- old
+ new

@@ -23,15 +23,15 @@ expect(subject.potential_matches).to eql([agpl, gpl]) end it 'sorts licenses by similarity' do expect(subject.matches_by_similarity[0]).to eql([gpl, 100.0]) - expect(subject.matches_by_similarity[1]).to eql([agpl, 95.67966280295047]) + expect(subject.matches_by_similarity[1]).to eql([agpl, 95.6842105263158]) end it 'returns a list of licenses above the confidence threshold' do expect(subject.matches_by_similarity[0]).to eql([gpl, 100.0]) - expect(subject.matches_by_similarity[1]).to eql([agpl, 95.67966280295047]) + expect(subject.matches_by_similarity[1]).to eql([agpl, 95.6842105263158]) end it 'returns the match confidence' do expect(subject.confidence).to be(100.0) end