@@ -787,10 +787,10 RAW | |||
|
787 | 787 | end |
|
788 | 788 | |
|
789 | 789 | def test_default_formatter |
|
790 |
|
|
|
791 | text = 'a *link*: http://www.example.net/' | |
|
792 | assert_equal '<p>a *link*: <a href="http://www.example.net/">http://www.example.net/</a></p>', textilizable(text) | |
|
793 | Setting.text_formatting = 'textile' | |
|
790 | with_settings :text_formatting => 'unknown' do | |
|
791 | text = 'a *link*: http://www.example.net/' | |
|
792 | assert_equal '<p>a *link*: <a href="http://www.example.net/">http://www.example.net/</a></p>', textilizable(text) | |
|
793 | end | |
|
794 | 794 | end |
|
795 | 795 | |
|
796 | 796 | def test_due_date_distance_in_words |
General Comments 0
You need to be logged in to leave comments.
Login now