spec/licensee/content_helper_spec.rb in licensee-9.15.1 vs spec/licensee/content_helper_spec.rb in licensee-9.15.2
- old
+ new
@@ -65,10 +65,10 @@
expect(subject.length_delta(subject)).to be(0)
end
it 'knows the similarity' do
expect(mit.similarity(subject)).to be_within(1).of(4)
- expect(mit.similarity(mit)).to be(100.0)
+ expect(mit.similarity(mit)).to eq(100.0)
end
it 'calculates simple delta for similarity' do
expect(subject.similarity(mit)).to be_within(1).of(3)
end