mirror of https://github.com/licensee/licensee.git
test markup stripping
This commit is contained in:
parent
3ddd9f1f05
commit
043cd77845
|
@ -116,6 +116,10 @@ LICENSE
|
|||
expect(normalized_content).to_not match(/all rights reserved/i)
|
||||
end
|
||||
|
||||
it 'strips markup' do
|
||||
expect(normalized_content).to_not match(/[*=_-]+/)
|
||||
end
|
||||
|
||||
Licensee::License.all(hidden: true).each do |license|
|
||||
context license.name do
|
||||
let(:stripped_content) { subject.content_without_title_and_version }
|
||||
|
|
Loading…
Reference in New Issue