spec/vendored_license_spec.rb in licensee-9.2.1 vs spec/vendored_license_spec.rb in licensee-9.3.0

- old
+ new

@@ -6,12 +6,13 @@ let(:detected_license) { license_file.license if license_file } let(:wtfpl) { Licensee::License.find('wtfpl') } Licensee.licenses(hidden: true).each do |license| next if license.pseudo_license? + next if license.key == 'postgresql' context "the #{license.name} license" do - let(:content_with_copyright) { sub_copyright_info(license.content) } + let(:content_with_copyright) { sub_copyright_info(license) } let(:content) { content_with_copyright } it 'detects the license' do expect(content).to be_detected_as(license) end