Skip to content

Commit

Permalink
Merge pull request #32 from m-nakamura145/fix-license_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mikegee committed Jan 18, 2024
2 parents a0e4933 + 50eac98 commit 2ce2dd9
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/license_spec.rb
Expand Up @@ -8,15 +8,4 @@
it 'exists' do
expect(license).to exist
end

it 'contains a copyright statement for the current year' do
expect(license.read).to match(/Copyright 2016-#{Date.today.year}/)
end

it 'is referenced from the README' do
readme = Pathname('README.md').read
expect(readme).to match(
/Copyright .* 2016-#{Date.today.year}.*LICENSE.txt/m
)
end
end

0 comments on commit 2ce2dd9

Please sign in to comment.