From f30e91374305f8f92707adf278e3c374b62f2ff1 Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Tue, 30 Aug 2011 21:22:36 -0700 Subject: [PATCH] Fix markdownify spec in 1.9. --- spec/helpers/markdownify_helper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/helpers/markdownify_helper_spec.rb b/spec/helpers/markdownify_helper_spec.rb index e7f07f5a5..a9ec00488 100644 --- a/spec/helpers/markdownify_helper_spec.rb +++ b/spec/helpers/markdownify_helper_spec.rb @@ -240,13 +240,13 @@ describe MarkdownifyHelper do message = "[_http_](http://google.com/search?q=with_multiple__underscores*and**asterisks )" markdownify(message).should == %Q{

http

} - message = %{[___FTP___]( ftp://ftp.uni-kl.de/CCC/26C3/mp4/26c3-3540-en-a_hackers_utopia.mp4 \"File Transfer Protocol\")} + message = %{[___FTP___]( ftp://ftp.uni-kl.de/CCC/26C3/mp4/26c3-3540-en-a_hackers_utopia.mp4 'File Transfer Protocol')} markdownify(message).should == %{

FTP

} message = %{[**any protocol**](foo://bar.example.org/yes_it*makes*no_sense)} markdownify(message).should == %{

any protocol

} - message = "This [ *text* ]( http://en.wikipedia.org/wiki/Text_(literary_theory) ) with many [ links]( google.com) tests [_http_](http://google.com/search?q=with_multiple__underscores*and**asterisks ), [___FTP___]( ftp://ftp.uni-kl.de/CCC/26C3/mp4/26c3-3540-en-a_hackers_utopia.mp4 \"File Transfer Protocol\"), [**any protocol**](foo://bar.example.org/yes_it*makes*no_sense)" + message = "This [ *text* ]( http://en.wikipedia.org/wiki/Text_(literary_theory) ) with many [ links]( google.com) tests [_http_](http://google.com/search?q=with_multiple__underscores*and**asterisks ), [___FTP___]( ftp://ftp.uni-kl.de/CCC/26C3/mp4/26c3-3540-en-a_hackers_utopia.mp4 'File Transfer Protocol'), [**any protocol**](foo://bar.example.org/yes_it*makes*no_sense)" markdownify(message).should == '

This text with many links tests http, FTP, any protocol

' end