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