update notifier helper spec expecatations to redcarpet 3.2

This commit is contained in:
Jonne Haß 2014-10-15 01:00:27 +02:00
parent ef71c57190
commit 7313bafe86

View file

@ -14,7 +14,7 @@ describe NotifierHelper, :type => :helper do
# post for markdown test # post for markdown test
@markdown_post = FactoryGirl.create(:status_message) @markdown_post = FactoryGirl.create(:status_message)
@markdown_post.text = "[link](http://diasporafoundation.org) **bold text** *other text*" @markdown_post.text = "[link](http://diasporafoundation.org) **bold text** *other text*"
@striped_markdown_post = "link bold text other text" @striped_markdown_post = "link (http://diasporafoundation.org) bold text other text"
end end
it 'truncates in the post' do it 'truncates in the post' do
@ -37,7 +37,7 @@ describe NotifierHelper, :type => :helper do
# comment for markdown test # comment for markdown test
@markdown_comment = FactoryGirl.create(:comment) @markdown_comment = FactoryGirl.create(:comment)
@markdown_comment.text = "[link](http://diasporafoundation.org) **bold text** *other text*" @markdown_comment.text = "[link](http://diasporafoundation.org) **bold text** *other text*"
@striped_markdown_comment = "link bold text other text" @striped_markdown_comment = "link (http://diasporafoundation.org) bold text other text"
end end
it 'truncates in the comment' do it 'truncates in the comment' do