spec/licensee/license_spec.rb in licensee-9.15.1 vs spec/licensee/license_spec.rb in licensee-9.15.2

- old
+ new

@@ -1,10 +1,10 @@ # frozen_string_literal: true RSpec.describe Licensee::License do - let(:license_count) { 42 } - let(:hidden_license_count) { 29 } + let(:license_count) { 43 } + let(:hidden_license_count) { 30 } let(:featured_license_count) { 3 } let(:pseudo_license_count) { 2 } let(:non_featured_license_count) do license_count - featured_license_count - hidden_license_count end @@ -298,10 +298,10 @@ it 'returns the URL' do expect(mit.url).to eql('http://choosealicense.com/licenses/mit/') end it 'knows equality' do - expect(mit).to eql(mit) + expect(described_class.find('mit')).to eql(mit) expect(gpl).not_to eql(mit) end it 'knows if a license is a pseudo license' do expect(mit).not_to be_pseudo_license