Commit 7a52a95d authored by Sean McGivern's avatar Sean McGivern

Fix epic show feature spec

HTML rendering doesn't preserve newlines by default, so this is shown as
all one line. Our Markdown rendering also doesn't insert line breaks for
single newlines.
parent 5d6d842c
......@@ -42,7 +42,7 @@ describe 'Epic show', :js do
it 'shows epic title and description' do
page.within('.epic-page-container .detail-page-description') do
expect(find('.title-container .title')).to have_content(epic_title)
expect(find('.description .md')).to have_content(markdown)
expect(find('.description .md')).to have_content(markdown.squish)
end
end
......
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