diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/lib/redmine/wiki_formatting/macros_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/lib/redmine/wiki_formatting/macros_test.rb b/test/unit/lib/redmine/wiki_formatting/macros_test.rb index 8c470b877..704e74528 100644 --- a/test/unit/lib/redmine/wiki_formatting/macros_test.rb +++ b/test/unit/lib/redmine/wiki_formatting/macros_test.rb @@ -47,6 +47,11 @@ class Redmine::WikiFormatting::MacrosTest < ActionView::TestCase assert_equal '<p>{{hello_world}}</p>', textilizable(text) end + def test_macro_macro_list + text = "{{macro_list}}" + assert_match %r{<code>hello_world</code>}, textilizable(text) + end + def test_macro_include @project = Project.find(1) # include a page of the current project wiki |