FIX: Remove failing ruby tests. The same thing is tested in JS and

passes due to the ability to create a document fragment.
This commit is contained in:
Robin Ward 2014-01-20 15:28:46 -05:00
parent 6b9b2d3d6a
commit 963793549c
1 changed files with 0 additions and 7 deletions

View File

@ -40,13 +40,6 @@ describe PrettyText do
match_html "<p>hello <span class=\"mention\">@bob</span>'s <span class=\"mention\">@bob</span>,<span class=\"mention\">@bob</span>; <span class=\"mention\">@bob</span>\"</p>"
end
it 'should spoiler text' do
PrettyText.cook("[spoiler]hello[/spoiler]").should match_html "<p><span class=\"spoiler\">hello</span></p>"
end
it 'should spoiler img' do
PrettyText.cook("[spoiler]<img src='http://cnn.com/a.gif'>[/spoiler]").should match_html "<p><div class=\"spoiler\"><img src=\"http://cnn.com/a.gif\"</div></p>"
end
end
describe "rel nofollow" do