From 45eaeacd68b50245951445da836af661bc403517 Mon Sep 17 00:00:00 2001 From: Ben Balter Date: Fri, 3 Nov 2017 10:39:32 -0400 Subject: [PATCH] failing test for excluding COPYRIGHT files --- spec/licensee/project_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/licensee/project_spec.rb b/spec/licensee/project_spec.rb index 0b251a2..37154c3 100644 --- a/spec/licensee/project_spec.rb +++ b/spec/licensee/project_spec.rb @@ -240,5 +240,13 @@ expect(subject.license_files.last.filename).to eql('LICENSE') end end + + context 'with a copyright file' do + let(:fixture) { 'mit-with-copyright' } + + it 'returns MIT' do + expect(subject.license).to eql(mit) + end + end end end