spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.9.1 vs spec/licensee/matchers/dice_matcher_spec.rb in licensee-9.9.2

- old
+ new

@@ -20,15 +20,15 @@ expect(subject.potential_licenses).to eql([agpl, gpl]) end it 'sorts licenses by similarity' do expect(subject.licenses_by_similiarity[0]).to eql([gpl, 100.0]) - expect(subject.licenses_by_similiarity[1]).to eql([agpl, 95.73361082206036]) + expect(subject.licenses_by_similiarity[1]).to eql([agpl, 95.76581285938317]) end it 'returns a list of licenses above the confidence threshold' do expect(subject.licenses_by_similiarity[0]).to eql([gpl, 100.0]) - expect(subject.licenses_by_similiarity[1]).to eql([agpl, 95.73361082206036]) + expect(subject.licenses_by_similiarity[1]).to eql([agpl, 95.76581285938317]) end it 'returns the match confidence' do expect(subject.confidence).to eql(100.0) end