From 739820141a4b625cf5daeab45caf58a9f2600644 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 4 Mar 2012 10:04:46 +0000 Subject: Extracted auto_link and auto_mailto to a module. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9063 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 2 +- test/unit/lib/redmine/wiki_formatting_test.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 2fcb0309c..a9dd4b3b4 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -940,7 +940,7 @@ RAW def test_default_formatter with_settings :text_formatting => 'unknown' do text = 'a *link*: http://www.example.net/' - assert_equal '

a *link*: http://www.example.net/

', textilizable(text) + assert_equal '

a *link*: http://www.example.net/

', textilizable(text) end end diff --git a/test/unit/lib/redmine/wiki_formatting_test.rb b/test/unit/lib/redmine/wiki_formatting_test.rb index 909acdea7..915b08621 100644 --- a/test/unit/lib/redmine/wiki_formatting_test.rb +++ b/test/unit/lib/redmine/wiki_formatting_test.rb @@ -36,8 +36,8 @@ and an email address foo@example.net DIFF expected = <<-EXPECTED -

This is a sample *text* with a link: http://www.redmine.org
-and an email address foo@example.net

+

This is a sample *text* with a link: http://www.redmine.org
+and an email address

EXPECTED assert_equal expected.gsub(%r{[\r\n\t]}, ''), Redmine::WikiFormatting::NullFormatter::Formatter.new(raw).to_html.gsub(%r{[\r\n\t]}, '') -- cgit v1.2.3