Commit 674e1c74 authored by Douwe Maan's avatar Douwe Maan

Fix spec

parent e2b4f13b
......@@ -22,9 +22,9 @@ feature 'Project', feature: true do
end
it 'sanitizes unwanted tags' do
project.update_attribute(:description, '# Project Description')
project.update_attribute(:description, "```\ncode\n```")
visit path
expect(page).not_to have_css('.project-home-desc h1')
expect(page).not_to have_css('.project-home-desc code')
end
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