spec/integration_spec.rb in licensee-9.4.0 vs spec/integration_spec.rb in licensee-9.5.0

- old
+ new

@@ -146,9 +146,19 @@ it 'returns other' do expect(subject.license).to eql(license) end end + + context 'license + README reference' do + let(:license) { Licensee::License.find('mit') } + let(:fixture) { 'license-with-readme-reference' } + let(:arguments) { { detect_readme: true } } + + it 'determines the project is MIT' do + expect(subject.license).to eql(license) + end + end end context 'with the license file stubbed' do let(:project_path) { Dir.mktmpdir }