BigW Consortium Gitlab

Commit 674e1c74 by Douwe Maan

Fix spec

parent e2b4f13b
...@@ -22,9 +22,9 @@ feature 'Project', feature: true do ...@@ -22,9 +22,9 @@ feature 'Project', feature: true do
end end
it 'sanitizes unwanted tags' do it 'sanitizes unwanted tags' do
project.update_attribute(:description, '# Project Description') project.update_attribute(:description, "```\ncode\n```")
visit path visit path
expect(page).not_to have_css('.project-home-desc h1') expect(page).not_to have_css('.project-home-desc code')
end end
it 'permits `rel` attribute on links' do it 'permits `rel` attribute on links' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment