spec/integration_spec.rb in licensee-9.15.3 vs spec/integration_spec.rb in licensee-9.16.0

- old
+ new

@@ -250,20 +250,20 @@ end end context 'GPL2 with Markdown formatting' do let(:license) { Licensee::License.find('gpl-2.0') } - let(:fixture) { 'markdown-gpl' } + let(:fixture) { 'gpl-2.0_markdown_headings' } it 'matches to GPL2' do expect(subject.license).to eql(license) end end context 'Artistic with Markdown formatting' do let(:license) { Licensee::License.find('artistic-2.0') } - let(:fixture) { 'markdown-artistic' } + let(:fixture) { 'artistic-2.0_markdown' } it 'matches to Artistic' do expect(subject.license).to eql(license) end end @@ -289,9 +289,18 @@ context 'BSD-3-Clause author/owner variant' do let(:license) { Licensee::License.find('bsd-3-clause') } let(:fixture) { 'bsd-3-authorowner' } it 'determines the project is BSD-3-Clause' do + expect(subject.license).to eql(license) + end + end + + context 'BSD-2-Clause author variant' do + let(:license) { Licensee::License.find('bsd-2-clause') } + let(:fixture) { 'bsd-2-author' } + + it 'determines the project is BSD-2-Clause' do expect(subject.license).to eql(license) end end context 'HTML license file' do