update notifier helper spec expecatations to redcarpet 3.2
This commit is contained in:
parent
ef71c57190
commit
7313bafe86
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue