spec/integration_spec.rb in licensee-9.9.1 vs spec/integration_spec.rb in licensee-9.9.2
- old
+ new
@@ -184,9 +184,18 @@
it 'matches to GPL2' do
expect(subject.license).to eql(license)
end
end
+
+ context 'BSD-3-Clause numbered and bulleted' do
+ let(:license) { Licensee::License.find('bsd-3-clause') }
+ let(:fixture) { 'bsd-3-lists' }
+
+ it 'determines the project is BSD-3-Clause' do
+ expect(subject.license).to eql(license)
+ end
+ end
end
context 'with the license file stubbed' do
let(:project_path) { Dir.mktmpdir }