test markup stripping

This commit is contained in:
Ben Balter 2017-12-28 11:54:07 -05:00
parent 3ddd9f1f05
commit 043cd77845
No known key found for this signature in database
GPG Key ID: DBB67C246AD356C4
1 changed files with 4 additions and 0 deletions

View File

@ -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 }